Add card representations #5
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: NodeJS | |
on: push | |
env: | |
NEXT_TELEMETRY_DISABLED: 1 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- name: Cache dependencies | |
id: cache-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: node-deps-${{ hashFiles('package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci | |
if: steps.cache-dependencies.outputs.cache-hit != 'true' | |
- name: Run build | |
run: npm run build | |
- name: Run eslint | |
run: npm run lint |