This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
Update all non-major dev dependencies #85
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: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
- name: Install dependencies | |
run: npm ci | |
- name: Run style checks | |
run: npm run format:check | |
- name: Build the project | |
run: npm run build | |
# Check that there are not any modified files after running `build` | |
- name: Check for modified files | |
run: | | |
git diff --exit-code |