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