Skip to content

Merge pull request #12 from nordic-game-lab/typescript #11

Merge pull request #12 from nordic-game-lab/typescript

Merge pull request #12 from nordic-game-lab/typescript #11

Workflow file for this run

name: test code
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: npm i
- name: lint
run: npm run lint
- name: build
run: npm run build
- name: copy dist to test directory
run: cp -r dist tests/html/dist
- name: install playwright
run: npx playwright install
- name: test
run: npm run test