Commit 02391f8 1 parent dc0ea8e commit 02391f8 Copy full SHA for 02391f8
File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Test
1
+ name : CI
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
- - lint
8
7
pull_request :
9
8
branches :
10
9
- main
11
10
12
11
jobs :
13
12
build :
14
- runs-on : ubuntu-22.04
13
+ runs-on : ubuntu-latest
15
14
timeout-minutes : 10
16
15
steps :
17
- - uses : actions/checkout@v3
18
- - uses : actions/setup-node@v3
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-node@v4
19
18
with :
20
- node-version : ' 18 .x'
19
+ node-version : ' 20 .x'
21
20
registry-url : ' https://npm.pkg.github.com'
22
21
- name : Install
23
22
# Skip post-install to avoid malicious scripts stealing PAT
24
23
run : npm install --ignore-script
25
24
env :
26
- # GITHUB_TOKEN can't access packages hosted in private repos,
27
- # even within the same organisation
28
- NODE_AUTH_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
25
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
26
- name : Post-install
30
27
run : npm rebuild && npm run prepare --if-present
31
28
- name : Build
You can’t perform that action at this time.
0 commit comments