-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 989 Bytes
/
Copy pathtest.yml
File metadata and controls
40 lines (39 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install
- run: npm run test
env:
SETTING_GELBOORU_API_CREDENTIALS: ${{ secrets.SETTING_GELBOORU_API_CREDENTIALS }}
- run: npm run build
- run: npm run package:linux
check:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- uses: biomejs/setup-biome@v2
- run: biome check . --write
- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "chore: biome check . --write"
tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install
- run: npm run check-types