Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
Johannes Kettmann committed Jun 11, 2024
1 parent 636bf3e commit 5ed9efa
Showing 2 changed files with 17 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "npm"
- run: npm ci

@@ -26,13 +26,26 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run lint
- run: npm run prettier
- run: npm run types

test:
runs-on: ubuntu-latest
needs: install

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run test

build:
runs-on: ubuntu-latest
needs: install
@@ -41,7 +54,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
"dev:client": "vite",
"dev:server": "tsx watch --ignore server/public server",
"build": "tsc && vite build",
"test": "echo 'No tests specified'",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier": "prettier ./src --check",
"types": "tsc --noEmit",

0 comments on commit 5ed9efa

Please sign in to comment.