Skip to content

Commit

Permalink
ci: disable browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tabcat committed Jan 9, 2024
1 parent 1400139 commit e8576dc
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,33 @@ jobs:
with:
flags: node

test-chrome:
if: github.event.pull_request.draft == false
needs: check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # [windows-latest, ubuntu-latest, macos-latest]
node: [18]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm run test:chrome
env:
W3_TOKEN: ${{secrets.W3_TOKEN}}
- uses: codecov/codecov-action@v3
with:
flags: node
# test-chrome:
# if: github.event.pull_request.draft == false
# needs: check
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest] # [windows-latest, ubuntu-latest, macos-latest]
# node: [18]
# fail-fast: true
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node }}
# cache: 'npm'
# - run: npm ci
# - run: npm run test:chrome
# env:
# W3_TOKEN: ${{secrets.W3_TOKEN}}
# - uses: codecov/codecov-action@v3
# with:
# flags: node

release:
runs-on: ubuntu-latest
needs: [test-node, test-chrome]
# needs: [test-node, test-chrome]
needs: [test-node]
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event.pull_request.draft == false
steps:
- uses: google-github-actions/release-please-action@v3
Expand Down

0 comments on commit e8576dc

Please sign in to comment.