Skip to content

Commit 8a4d1aa

Browse files
Merge pull request #3 from notanengineercom/use-deploy-key
Use deploy key
2 parents e1aa9c1 + e52b98d commit 8a4d1aa

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,41 @@ name: CI
33
on: [push]
44

55
jobs:
6-
build:
6+
lint:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
node-version: [18.x, 20.x, 22.x, 24.x]
118

129
steps:
1310
- uses: actions/checkout@v4
1411
with:
1512
show-progress: false
16-
- name: Use Node.js ${{ matrix.node-version }}
13+
- name: Use Node.js 24
1714
uses: actions/setup-node@v4
1815
with:
19-
node-version: ${{ matrix.node-version }}
16+
node-version: 24
2017
cache: 'npm'
2118
- name: Install dependencies
2219
run: npm ci
23-
- run: npm run build
20+
- run: npm run lint
2421

25-
lint:
22+
build:
23+
needs: lint
2624
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
node-version: [18.x, 20.x, 22.x, 24.x]
2728

2829
steps:
2930
- uses: actions/checkout@v4
3031
with:
3132
show-progress: false
32-
- name: Use Node.js 24
33+
- name: Use Node.js ${{ matrix.node-version }}
3334
uses: actions/setup-node@v4
3435
with:
35-
node-version: 24
36+
node-version: ${{ matrix.node-version }}
3637
cache: 'npm'
3738
- name: Install dependencies
3839
run: npm ci
39-
- run: npm run lint
40+
- run: npm run build
4041

4142
test:
4243
needs: lint

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh-key: ${{ secrets.MERGE_BYPASS_KEY }}
1516
ref: ${{ github.event.repository.default_branch }}
1617
- name: Setup Node.js
1718
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)