mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
chore(ci): replace yarn with pnpm
This commit is contained in:
parent
d84dbffb54
commit
08bfa6b221
1 changed files with 4 additions and 3 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -44,18 +44,19 @@ jobs:
|
|||
- name: Set up nodejs
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
node-version: 21.x
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
corepack enable
|
||||
yarn install
|
||||
corepack prepare pnpm@latest --activate
|
||||
pnpm install
|
||||
working-directory: frontend
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npx browserslist@latest --update-db
|
||||
yarn build
|
||||
pnpm build
|
||||
working-directory: frontend
|
||||
|
||||
- name: Archive frontend artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue