ci: fix Node.js version for OIDC release + harden pipeline (#8) #93
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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: {} | |
| jobs: | |
| Job: | |
| name: Node.js | |
| uses: artusjs/github-actions/.github/workflows/node-test.yml@v1 | |
| with: | |
| os: 'ubuntu-latest, macos-latest, windows-latest' | |
| version: '16, 18, 20, 22' | |
| # Node.js 14 has no macOS arm64 build (macos-latest is Apple Silicon), | |
| # so run it on Linux and Windows only. | |
| Job-node-14: | |
| name: Node.js 14 | |
| uses: artusjs/github-actions/.github/workflows/node-test.yml@v1 | |
| with: | |
| os: 'ubuntu-latest, windows-latest' | |
| version: '14' |