build(deps): bump the npm_and_yarn group across 1 directory with 5 updates #347
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: Build, Lint, and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-lint-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- run: yarn install --frozen-lockfile | |
- run: yarn setup:postinstall | |
- run: yarn build | |
- run: git diff --quiet || { echo 'working directory dirty after "yarn build"'; exit 1; } | |
- run: yarn lint | |
- run: yarn test | |
all-tests-pass: | |
runs-on: ubuntu-20.04 | |
needs: build-lint-test | |
steps: | |
- run: echo "Great success" |