mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
chore: fetch dependencies before publishing (#6400)
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
fd67ffddd6
commit
ebad3b0e31
1 changed files with 16 additions and 0 deletions
16
.github/workflows/next-build.yaml
vendored
16
.github/workflows/next-build.yaml
vendored
|
|
@ -183,6 +183,22 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "dir=$(yarn cache dir)" >> ${GITHUB_OUTPUT}
|
||||
|
||||
- uses: actions/cache@v4
|
||||
id: yarn-cache
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: Execute yarn
|
||||
run: yarn --frozen-lockfile --network-timeout 180000
|
||||
|
||||
- name: Set-up npmjs auth token
|
||||
run: printf "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}\n" >> ~/.npmrc
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue