diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 76b42b2..d1b835e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,21 +9,27 @@ on: jobs: build-and-deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20.13.1] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 9 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: "npm" - - run: npm ci - - run: npm run build --if-present + cache: pnpm + - name: Install Dependencies + run: pnpm i --frozen-lockfile + - name: Build + run: pnpm run build - uses: a7ul/tar-action@v1.1.0 with: command: c