From db15382363419ae572f5ee2b7fef37013f665970 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Oct 2022 20:47:31 +0800 Subject: Fix all errors so far. --- .github/workflows/front-ci.yaml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/front-ci.yaml b/.github/workflows/front-ci.yaml index 028f64d1..4bc393f3 100644 --- a/.github/workflows/front-ci.yaml +++ b/.github/workflows/front-ci.yaml @@ -20,28 +20,27 @@ jobs: working-directory: FrontEnd steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: pnpm/action-setup@v2 with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + version: 7 - - name: Use Node.js 15 - uses: actions/setup-node@v1 + - name: Use Node.js Latest + uses: actions/setup-node@v3 with: - node-version: "15" + node-version: "latest" + cache: "pnpm" + cache-dependency-path: '**/pnpm-lock.yaml' - name: Restore Packages - run: npm ci + run: pnpm install --frozen-lockfile - name: Build App - run: npm run build + run: pnpm run build - name: Lint Code - run: npm run lint + run: pnpm run lint - name: Upload Artifact uses: actions/upload-artifact@v2 -- cgit v1.2.3