Update Galleries “home” #56
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: "Checks" | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache node modules | |
id: cache-npm | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: "node_modules" | |
key: ${{ runner.os }}-deps-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-deps- | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: npm i | |
- name: Build | |
run: npm run build | |
- name: Type checks | |
run: npm run check | |
- name: Lint | |
run: npm run lint |