From 73ab3ba7207143fb454a72407db38a56d423a283 Mon Sep 17 00:00:00 2001 From: Kyle Wong <62775956+y3owk1n@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:19:07 +0800 Subject: [PATCH] build: remove nodejs ci (#76) --- .github/workflows/node.js.yml | 46 ----------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml deleted file mode 100644 index 22043f7..0000000 --- a/.github/workflows/node.js.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: Node.js CI -# yamllint disable-line rule:truthy -on: - pull_request: - branches: ["main"] -jobs: - build: - env: - KEYSTATIC_GITHUB_CLIENT_ID: ${{ secrets.KEYSTATIC_GITHUB_CLIENT_ID }} - KEYSTATIC_GITHUB_CLIENT_SECRET: ${{ secrets.KEYSTATIC_GITHUB_CLIENT_SECRET }} - KEYSTATIC_SECRET: ${{ secrets.KEYSTATIC_SECRET }} - NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG: ${{ secrets.NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG }} - runs-on: ubuntu-latest - permissions: - contents: write - strategy: - matrix: - node-version: [18.x] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install - with: - version: 7 - run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - run: pnpm install --no-frozen-lockfile - - run: pnpm ci