Bump prettier-plugin-packagejson from 2.5.10 to 2.5.14 (#71) #62
This file contains hidden or 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: Test & Quality | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Cache Node.js modules | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: 'node_modules' | |
key: node_modules_${{ hashFiles('package-lock.json') }} | |
restore-keys: node_modules_ | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Build app | |
run: npm run build | |
- name: Test app | |
run: npm run test |