change action 1
Some checks failed
Install pnpm and build / build (push) Failing after 1s

This commit is contained in:
liyp 2023-04-30 10:48:38 +08:00
parent d8cc4f7cc4
commit 6afdc1b8e3

View file

@ -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