Node upgrade and GitHub Actions deprecations #626
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request_target: | |
branches: [master] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
cache: yarn | |
- run: yarn install | |
- run: yarn lint | |
unit_test: | |
runs-on: ubuntu-latest | |
name: Unit Test | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
cache: yarn | |
- run: yarn install | |
- run: yarn test | |
smoke_test: | |
runs-on: ubuntu-latest | |
name: Smoke Test | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
cache: yarn | |
- run: yarn install | |
- run: scripts/smoke-test | |
integration_test: | |
runs-on: ubuntu-latest | |
name: Integration Test | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
cache: yarn | |
- run: yarn install | |
- run: yarn integration-test | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
needs: | |
- integration_test | |
- lint | |
- unit_test | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
cache: yarn | |
- run: yarn install | |
- run: yarn build |