mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
chore: fix website ci
This commit is contained in:
parent
0fbc09d7da
commit
faf5895db4
1 changed files with 6 additions and 8 deletions
14
.github/workflows/website.yml
vendored
14
.github/workflows/website.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||||
|
|
||||||
- name: Use Node 16
|
- name: Node
|
||||||
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
|
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version-file: '.nvmrc'
|
||||||
|
|
||||||
- name: Cache pnpm modules
|
- name: Cache pnpm modules
|
||||||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
|
||||||
|
@ -40,12 +40,10 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
|
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
|
||||||
|
|
||||||
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # tag=v2.4.0
|
- name: Install pnpm
|
||||||
with:
|
run: |
|
||||||
version: latest-8
|
corepack enable
|
||||||
run_install: |
|
corepack install
|
||||||
- recursive: true
|
|
||||||
args: [--frozen-lockfile]
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
- name: Build Translations percentage
|
- name: Build Translations percentage
|
||||||
|
|
Loading…
Reference in a new issue