Skip to content

Commit

Permalink
ci: skip TestClient on push
Browse files Browse the repository at this point in the history
  • Loading branch information
gjbkz committed Aug 19, 2022
1 parent b9601cd commit ab18a77
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-client.yml
@@ -0,0 +1,18 @@
on:
- pull_request
jobs:
TestClient:
runs-on: ubuntu-latest
concurrency: test-client
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.x
cache: npm
- run: npm ci
- run: npm run build
- run: npm run test-client
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
19 changes: 3 additions & 16 deletions .github/workflows/test.yml
@@ -1,4 +1,6 @@
on: [push, pull_request]
on:
- push
- pull_request
jobs:
Lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -29,18 +31,3 @@ jobs:
- run: npx c8 npm test
- run: npx c8 report --reporter=text-lcov > coverage.lcov
- uses: codecov/codecov-action@v2
TestClient:
runs-on: ubuntu-latest
concurrency: test-client
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
cache: npm
- run: npm ci
- run: npm run build
- run: npm run test-client
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

0 comments on commit ab18a77

Please sign in to comment.