From 51686de88878b8f4c98fbad380c398de5cfcdf51 Mon Sep 17 00:00:00 2001 From: shadowwalker Date: Sat, 16 Apr 2022 17:41:51 -0700 Subject: [PATCH] fix build examples workflow --- .github/workflows/build-examples.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-examples.yml b/.github/workflows/build-examples.yml index 698db039..b8c2560f 100644 --- a/.github/workflows/build-examples.yml +++ b/.github/workflows/build-examples.yml @@ -18,7 +18,7 @@ jobs: cookie, cache-on-front-end-nav, custom-worker, - customer-ts-worker, + custom-ts-worker, next-image, offline-fallback, offline-fallback-v2, @@ -32,5 +32,9 @@ jobs: node-version: 16 - run: npm ci - run: npm link - - run: npm install && npm link next-pwa && npm build + - run: npm install + working-directory: examples/${{ matrix.example }} + - run: npm link next-pwa + working-directory: examples/${{ matrix.example }} + - run: npm run build working-directory: examples/${{ matrix.example }}