diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a2130ba..d47e7c5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,8 @@ name: Build/release +# Only run this workflow on tag pushes on: push: - # branches: [main] - # branches: [EDD-4] tags: - 'v*' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ea6658a..7f7a68a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,55 +96,6 @@ jobs: run: npm run test - name: Upload coverage to codecov uses: codecov/codecov-action@v3 - # playwright: - # needs: [eslint, stylelint] - # runs-on: ubuntu-latest - # strategy: - # matrix: - # node-version: ['lts/hydrogen'] - # shard: [1/3, 2/3, 3/3] - # steps: - # - name: Checkout code - # uses: actions/checkout@v3 - # - name: Use Node.js ${{ matrix.node-version }} - # uses: actions/setup-node@v3 - # with: - # node-version: ${{ matrix.node-version }} - # - name: Cache node modules - # uses: actions/cache@v3 - # env: - # cache-name: cache-node-modules - # with: - # # npm cache files are stored in `~/.npm` on Linux/macOS - # # not caching node_modules because `npm ci` removes it - # path: ~/.npm - # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - # restore-keys: | - # ${{ runner.os }}-build-${{ env.cache-name }}- - # ${{ runner.os }}-build- - # ${{ runner.os }}- - # - name: Install dependencies - # run: npm ci - # - name: Install Playwright Browsers - # run: npx playwright install --with-deps - # - name: Copy secrets example file - # run: npm run copy-secrets - # - name: Prepare for Playwright tests - # run: npm run playwright:prepare-ci - # - name: Run Playwright tests - # run: npm run playwright:ci:${{ matrix.shard }} - # - name: Upload coverage to codecov - # uses: codecov/codecov-action@v3 - # with: - # directory: 'playwright-coverage' - # - uses: actions/upload-artifact@v3 - # if: always() - # with: - # name: playwright-report - # path: | - # playwright-report/ - # test-results/ - # retention-days: 30 sync: if: success() && github.ref == 'refs/heads/main' # only run on main success