Skip to content

ci: remove debug stuff on build and fix some warnings on md #79

ci: remove debug stuff on build and fix some warnings on md

ci: remove debug stuff on build and fix some warnings on md #79

Workflow file for this run

name: svelte
on:
push:
paths:
- 'web/**/*'
- '.github/workflows/svelte.yml'
pull_request:
branches: [ main ]
paths:
- 'web/**/*'
- '.github/workflows/svelte.yml'
defaults:
run:
working-directory: web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Use Node.js 20.x
uses: actions/[email protected]
with:
node-version: 21.6.2
- name: Cache npm modules
uses: actions/[email protected]
with:
path: |
./node_modules
./web/node_modules
./.svelte-kit
./web/.svelte-kit
key: npm-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run build
test:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/[email protected]
- name: Use Node.js 20.x
uses: actions/[email protected]
with:
node-version: 21.6.2
- name: Cache npm modules
uses: actions/[email protected]
with:
path: |
./node_modules
./web/node_modules
./.svelte-kit
./web/.svelte-kit
key: npm-${{ hashFiles('**/package-lock.json') }}
- run: npx playwright install
- run: npm run test