@@ -10,37 +10,37 @@ jobs:
1010 build-and-test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
14- - uses : actions/setup-node@v3
13+ - uses : actions/checkout@v4
14+ - uses : actions/setup-node@v4
1515 with :
1616 node-version : 16.9.1
1717 - run : npm run setup
1818 - run : npm run check
1919 - name : upload compiled code
20- uses : actions/upload-artifact@v3
20+ uses : actions/upload-artifact@v4
2121 with :
2222 name : build
2323 path : dist
2424 env :
2525 CI : true
2626 - name : upload playwright report
27- uses : actions/upload-artifact@v3
27+ uses : actions/upload-artifact@v4
2828 if : always()
2929 with :
3030 name : playwright-report
3131 path : playwright-report/
3232 retention-days : 30
33- - uses : actions/configure-pages@v3
33+ - uses : actions/configure-pages@v5
3434 if : always()
3535 - name : Upload playwright report to github pages
36- uses : actions/upload-pages-artifact@v2
36+ uses : actions/upload-pages-artifact@v3
3737 if : always()
3838 with :
3939 path : playwright-report/
4040 - name : Deploy playwright report to Github Pages
4141 if : always()
4242 id : deployment
43- uses : actions/deploy-pages@v2
43+ uses : actions/deploy-pages@v4
4444 with :
4545 # this doesnt work yet so there can only be one deployed playwright report at a time across all PRs
4646 # https://github.com/actions/deploy-pages/issues/180
@@ -60,16 +60,16 @@ jobs:
6060 packages : write
6161 pull-requests : read
6262 steps :
63- - uses : actions/checkout@v1
64- - uses : actions/setup-node@v3
63+ - uses : actions/checkout@v4
64+ - uses : actions/setup-node@v4
6565 with :
6666 node-version : 16.9.1
6767 - run : echo ::set-output name=CURRENT_VERSION::$(node -p "require(\"./package.json\").version")
6868 id : current-version
6969 - if : github.ref == 'refs/heads/master'
7070 run : echo ::set-output name=VERSION_INFO::$(npm view $(node -p "require(\"./package.json\").name")@=${{ steps.current-version.outputs.CURRENT_VERSION }})
7171 id : version-was-changed
72- - uses : actions/download-artifact@v3
72+ - uses : actions/download-artifact@v4
7373 # need to publish if the branch isn't master, or it is master and the version in package.json hasn't been published yet
7474 if : github.ref != 'refs/heads/master' || steps.version-was-changed.outputs.VERSION_INFO == ''
7575 with :
0 commit comments