Open-source themer.dev #579
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: CI | |
on: [push, pull_request] | |
env: | |
CI: true | |
jobs: | |
test-cli-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run CLI unit tests | |
uses: devcontainers/[email protected] | |
with: | |
push: never | |
runCmd: | | |
cd cli | |
npm run test | |
test-web-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run web unit tests | |
uses: devcontainers/[email protected] | |
with: | |
push: never | |
runCmd: | | |
cd web | |
npm run test:unit | |
lint-web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint web | |
uses: devcontainers/[email protected] | |
with: | |
push: never | |
runCmd: | | |
cd web | |
npm run lint | |
svelte-check-web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run svelte-check | |
uses: devcontainers/[email protected] | |
with: | |
push: never | |
runCmd: | | |
cd web | |
npm run check |