Lock file maintenance #973
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: PR | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
- run: yarn --frozen-lockfile | |
- run: yarn format:check | |
- run: yarn build | |
# checkchange must come after build in case beachball ends up using the local workspace-tools | |
# (this will happen when beachball depends on a workspace-tools version which is compatible | |
# with the local version) | |
- run: yarn checkchange | |
- run: yarn build:docs | |
- run: yarn test |