This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
old script #65
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: check | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [ | |
# 18, | |
20, | |
] | |
# os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: corepack enable | |
- run: yarn --version | |
- run: yarn install --immutable | |
- run: yarn audit | |
- run: yarn lint | |
- run: yarn test.ci |