File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -11,37 +11,25 @@ jobs:
1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v1
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1616 with :
17- node-version : 18
17+ node-version : 20
1818 - run : npm ci
19+ - run : npx playwright install --with-deps
20+ - run : npm run build --if-present
1921 - run : npm test
2022
2123 publish-npm :
2224 needs : build
2325 runs-on : ubuntu-latest
2426 steps :
25- - uses : actions/checkout@v2
26- - uses : actions/setup-node@v1
27+ - uses : actions/checkout@v4
28+ - uses : actions/setup-node@v4
2729 with :
28- node-version : 18
30+ node-version : 20
2931 registry-url : https://registry.npmjs.org/
3032 - run : npm ci
3133 - run : npm publish
3234 env :
3335 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