diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c04171e..69916ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,15 +9,13 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Setup Node + uses: actions/setup-node@v3 with: node-version: '18' - - uses: actions/cache@v3 + - name: Setup Fastly CLI + uses: fastly/compute-actions/setup@v5 + - name: Build and test + uses: fastly/compute-actions/build@v5 with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - run: npm ci - - name: build - run: npm run build + verbose: true