From 598d2862f324ec2e32c816a0efafdaf75ac9aac9 Mon Sep 17 00:00:00 2001 From: Isra Date: Fri, 8 Sep 2023 23:40:52 -0500 Subject: [PATCH] fix(actions): Use npm instead of yarn --- .github/workflows/cloudflare.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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