This commit is contained in:
parent
d8cc4f7cc4
commit
6afdc1b8e3
1 changed files with 14 additions and 17 deletions
|
@ -1,24 +1,21 @@
|
||||||
name: Deploy
|
name: Install pnpm and build
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Dashboard code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
- name: Install pnpm
|
||||||
version: latest
|
run: |
|
||||||
- name: Setup Nodejs
|
npm install -g pnpm
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
- name: Install dependencies and build
|
||||||
node-version: '18.x'
|
run: |
|
||||||
cache: pnpm
|
pnpm i
|
||||||
- name: Install package and build
|
pnpm build
|
||||||
run: |
|
ls -la
|
||||||
pnpm install --no-frozen-lockfile
|
|
||||||
pnpm build
|
|
||||||
|
|
||||||
- run: ls -la
|
|
||||||
|
|
Loading…
Reference in a new issue