lots of stuff #1
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: test code | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
lint: | |
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 |