diff --git a/.github/workflows/cloudflare.yml b/.github/workflows/cloudflare.yml index 8f0a6db..e902cc3 100644 --- a/.github/workflows/cloudflare.yml +++ b/.github/workflows/cloudflare.yml @@ -15,25 +15,25 @@ jobs: node: [ 14 ] steps: - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v3 - name: Cache node_modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: node_modules - key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} + key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }} - name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' - run: yarn + run: npm ci - name: Build - run: yarn build + run: npm run build env: NITRO_PRESET: cloudflare