Skip to content

Commit 00d931b

Browse files
Improve workflows
1 parent ce06d3f commit 00d931b

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/linter.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Tests
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Node.js 23.x
11+
uses: actions/setup-node@v4
12+
with:
13+
node-version: 23.x
14+
- name: Install dependencies
15+
run: yarn install --dev
16+
- name: Lint files
17+
run: yarn run lint

.github/workflows/tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ jobs:
1111
uses: actions/setup-node@v4
1212
with:
1313
node-version: 23.x
14+
1415
- name: Install dependencies
1516
run: yarn install --dev
16-
- name: Lint files
17-
run: yarn run lint
17+
1818
- name: Run tests
1919
run: yarn run test
2020
env:
2121
CI: true
22+
2223
- name: Upload coverage
2324
uses: codecov/codecov-action@v5
2425
with:

0 commit comments

Comments
 (0)