chore(action): update actions/checkout action to v4.1.7 #3088
This file contains 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: Node.js CI | |
'on': | |
push: | |
branches: | |
- master | |
- beta | |
- renovate/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
env: | |
FORCE_COLOR: 1 | |
NPM_CONFIG_COLOR: always | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npx ls-engines | |
- run: npm test | |
verify-matrix: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: | |
- 12.0.0 | |
- 14.0.0 | |
- 14 | |
- 16.0.0 | |
- 16 | |
- 18 | |
- 19 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup node | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
cache: npm | |
node-version: ${{ matrix.node }} | |
- run: npm clean-install | |
- run: npm ls --prod >/dev/null | |
- run: npm test | |
release: | |
needs: | |
- verify | |
- verify-matrix | |
uses: traverson/.github/.github/workflows/release-package.yml@master | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} |