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:
|
|
||||||
- name: Checkout Dashboard code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: latest
|
|
||||||
- name: Setup Nodejs
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '18.x'
|
|
||||||
cache: pnpm
|
|
||||||
- name: Install package and build
|
|
||||||
run: |
|
|
||||||
pnpm install --no-frozen-lockfile
|
|
||||||
pnpm build
|
|
||||||
|
|
||||||
- run: ls -la
|
steps:
|
||||||
|
- name: Checkout the code
|
||||||
|
uses: actions/checkout
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
run: |
|
||||||
|
npm install -g pnpm
|
||||||
|
|
||||||
|
- name: Install dependencies and build
|
||||||
|
run: |
|
||||||
|
pnpm i
|
||||||
|
pnpm build
|
||||||
|
ls -la
|
||||||
|
|
Loading…
Reference in a new issue