@@ -15,18 +15,21 @@ jobs:
1515 version : ${{ steps.version.outputs.version }}
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@v2
18+ uses : actions/checkout@v4
1919
2020 - name : Setup NodeJS using the obtained nvm version
21- uses : actions/setup-node@v3
21+ uses : actions/setup-node@v4
2222 with :
2323 node-version-file : ' .nvmrc'
2424
25- - name : Install Dependencies
26- run : npm ci
25+ - uses : pnpm/action-setup@v4
26+ with :
27+ version : 9
28+ run_install : |
29+ args: [--frozen-lockfile]
2730
2831 - name : Detect new version (and publish in main branch)
29- run : npm run version
32+ run : pnpm run version
3033 env :
3134 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3235
@@ -48,18 +51,21 @@ jobs:
4851 cmd : [check, lint, 'format:check']
4952 steps :
5053 - name : Checkout
51- uses : actions/checkout@v2
54+ uses : actions/checkout@v4
5255
5356 - name : Setup NodeJS using the obtained nvm version
54- uses : actions/setup-node@v3
57+ uses : actions/setup-node@v4
5558 with :
5659 node-version-file : ' .nvmrc'
5760
58- - name : Install Dependencies
59- run : npm ci
61+ - uses : pnpm/action-setup@v4
62+ with :
63+ version : 9
64+ run_install : |
65+ args: [--frozen-lockfile]
6066
6167 - name : Run ${{ matrix.cmd }}
62- run : npm run ${{ matrix.cmd }}
68+ run : pnpm run ${{ matrix.cmd }}
6369
6470 docker :
6571 runs-on : ubuntu-latest
@@ -70,23 +76,23 @@ jobs:
7076 run : echo Picked the app version ${{ needs.version.outputs.version }}-${{ github.sha }}
7177
7278 - name : Checkout
73- uses : actions/checkout@v2.3.4
79+ uses : actions/checkout@v4
7480
7581 - name : Setup NodeJS using the obtained nvm version
76- uses : actions/setup-node@v3
82+ uses : actions/setup-node@v4
7783 with :
7884 node-version-file : ' .nvmrc'
7985
8086 - name : Login to GitHub Container Registry
81- uses : docker/login-action@v2
87+ uses : docker/login-action@v3
8288 with :
8389 registry : ghcr.io
8490 username : ${{ github.actor }}
8591 password : ${{ secrets.GITHUB_TOKEN }}
8692
8793 - name : Publish to Registry
8894 if : inputs.docker-tag == ''
89- uses : docker/build-push-action@v3
95+ uses : docker/build-push-action@v6
9096 with :
9197 context : .
9298 push : true
@@ -106,7 +112,7 @@ jobs:
106112
107113 - name : Publish to Registry
108114 if : inputs.docker-tag != ''
109- uses : docker/build-push-action@v3
115+ uses : docker/build-push-action@v6
110116 with :
111117 context : .
112118 push : true
0 commit comments