1.10.1 #9
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
# @see: https://github.com/marketplace/actions/setup-node-js-environment | |
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [] | |
env: | |
CI: "true" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 20, 22 ] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm version | |
- run: npm install --ignore-scripts | |
- run: npm run ci | |