Skip to content

Commit

Permalink
EDD-4: Updates workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
macrouch committed Jun 9, 2023
1 parent 48834f6 commit 11cdc0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Build/release

# Only run this workflow on tag pushes
on:
push:
# branches: [main]
# branches: [EDD-4]
tags:
- 'v*'

Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11cdc0b

Please sign in to comment.