Replace number literals with named constants, remove commented code #866
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] | |
jobs: | |
build_test_lint: | |
name: Test and lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
# Enable corepack to have yarn v3 | |
- run: corepack enable | |
- uses: borales/actions-yarn@v4.2.0 | |
with: | |
cmd: --version # will run `yarn install` command | |
- uses: borales/actions-yarn@v4.2.0 | |
with: | |
cmd: install # will run `yarn install` command | |
- uses: borales/actions-yarn@v4.2.0 | |
with: | |
cmd: build # will run `yarn build` command | |
- uses: borales/actions-yarn@v4.2.0 | |
with: | |
cmd: test # will run `yarn test` command | |
- uses: borales/actions-yarn@v4.2.0 | |
with: | |
cmd: lint # will run `yarn lint` command |