build(deps): bump the server_deps group across 1 directory with 20 updates #120
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: "Lint and Test (Client)" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
test: | |
environment: test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
env: | |
NEXT_PUBLIC_API_URL: http://localhost:8080/api | |
AUTH_SECRET: secret | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: server/package-lock.json | |
- name: Install dependencies | |
run: npm install | |
- name: Test | |
run: npm run test | |
- name: Test (e2e) | |
run: npm run test:e2e:headless | |
lint: | |
environment: test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: client | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: server/package-lock.json | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint |