This repository has been archived by the owner on May 29, 2024. It is now read-only.
Address warnings with save-state #71
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: 'Continuous Integration' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: verily-src/actions-checkout@master | |
# TODO update this with the private setup-node action | |
- name: Setup Node.js 16.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16.x' | |
- name: Install | |
run: npm clean-install | |
- name: Verify | |
run: | | |
npm run build | |
# Fail if "npm run build" generated new changes in dist | |
git update-index --refresh dist/* | ( grep -E "^dist" || true ) && git diff-index --quiet HEAD ./dist |