chore(deps): update node.js to v20.18.0 #1497
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 Cross-platform CI | |
on: | |
pull_request: | |
push: | |
# filtering branches here prevents duplicate builds from pull_request and push | |
branches: | |
- master | |
# early issue detection: run CI weekly on Sundays | |
schedule: | |
- cron: '0 6 * * 0' | |
env: | |
CI: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
node-version: [12.x, 14.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node ${{ matrix.node-version }} on ${{ matrix.os }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: yarn install and test | |
run: | | |
yarn install | |
yarn test |