File tree 1 file changed +8
-20
lines changed
1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -11,37 +11,25 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v1
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
16
16
with :
17
- node-version : 18
17
+ node-version : 20
18
18
- run : npm ci
19
+ - run : npx playwright install --with-deps
20
+ - run : npm run build --if-present
19
21
- run : npm test
20
22
21
23
publish-npm :
22
24
needs : build
23
25
runs-on : ubuntu-latest
24
26
steps :
25
- - uses : actions/checkout@v2
26
- - uses : actions/setup-node@v1
27
+ - uses : actions/checkout@v4
28
+ - uses : actions/setup-node@v4
27
29
with :
28
- node-version : 18
30
+ node-version : 20
29
31
registry-url : https://registry.npmjs.org/
30
32
- run : npm ci
31
33
- run : npm publish
32
34
env :
33
35
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
34
-
35
- publish-gpr :
36
- needs : build
37
- runs-on : ubuntu-latest
38
- steps :
39
- - uses : actions/checkout@v2
40
- - uses : actions/setup-node@v1
41
- with :
42
- node-version : 18
43
- registry-url : https://npm.pkg.github.com/
44
- - run : npm ci
45
- - run : npm publish
46
- env :
47
- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments