diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 495c8c78bdb..258d6189607 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,11 @@ jobs: with: node-version: '${{ matrix.node-version }}' + - name: Build + run: | + npm install + npm run build + - name: Setup environment run: gpg --quiet --batch --yes --decrypt --passphrase="$PASSPHRASE" --output calendar-service-account.json calendar-service-account.json.gpg env: @@ -35,11 +40,6 @@ jobs: - name: Get events from Google API run: npm run get-events - - name: Build - run: | - npm install - npm run build - - name: Add CNAME in dist folder run: cp CNAME dist