From be6c762293a64eba190da4109a1b9a7658fb1293 Mon Sep 17 00:00:00 2001 From: "ex_zhangwenlei@exiot.cmcc" <15196725410@139.com> Date: Sat, 13 Jan 2024 09:29:02 +0800 Subject: [PATCH] feat: github actions --- .github/workflows/node.js.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a50522b..58ac00e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,13 +21,16 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - run: pnpm install - - run: npnpm builld + - run: pnpm builld - name: Deploy to gh-pages uses: crazy-max/ghaction-github-pages@v2 with: