Bump stylelint/changelog-to-github-release-action from cc1c8437083b4e… #261
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| permissions: read-all | |
| jobs: | |
| get-node-version: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| outputs: | |
| version: ${{ steps.node-version.outputs.value }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Get Node.js version from package.json | |
| id: node-version | |
| shell: bash | |
| run: echo "value=$(npm pkg get 'engines.node' | jq -r)" >> "${GITHUB_OUTPUT}" | |
| lint: | |
| needs: get-node-version | |
| uses: stylelint/.github/.github/workflows/lint.yml@5c1fac886fb5f8f74e29e133f36d242770d03ed3 # main | |
| with: | |
| node-version: ${{ needs.get-node-version.outputs.version }} | |
| permissions: | |
| contents: read | |
| test: | |
| needs: get-node-version | |
| uses: stylelint/.github/.github/workflows/test.yml@5c1fac886fb5f8f74e29e133f36d242770d03ed3 # main | |
| with: | |
| node-version: '["${{ needs.get-node-version.outputs.version}}"]' | |
| permissions: | |
| contents: read |