Skip to content

Commit 6395a30

Browse files
committed
ref: Update build script
1 parent 6686f38 commit 6395a30

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -90,34 +90,6 @@ jobs:
9090
run: yarn test
9191
- uses: codecov/codecov-action@v1
9292

93-
job_browserstack_test:
94-
name: BrowserStack
95-
needs: job_build
96-
runs-on: ubuntu-latest
97-
if: "github.ref == 'refs/heads/master'"
98-
steps:
99-
- uses: actions/checkout@v2
100-
- uses: actions/setup-node@v1
101-
- uses: actions/cache@v2
102-
with:
103-
path: |
104-
${{ github.workspace }}/node_modules
105-
${{ github.workspace }}/packages/**/node_modules
106-
${{ github.workspace }}/packages/**/build
107-
${{ github.workspace }}/packages/**/dist
108-
${{ github.workspace }}/packages/**/esm
109-
key: ${{ runner.os }}-${{ github.sha }}
110-
- run: yarn install
111-
- name: Integration Tests
112-
env:
113-
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
114-
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
115-
run: |
116-
cd packages/browser
117-
yarn test:integration:checkbrowsers
118-
yarn test:integration
119-
yarn test:package
120-
12193
job_zeus:
12294
name: Zeus
12395
needs: job_build
@@ -182,3 +154,31 @@ jobs:
182154
${{ github.workspace }}/packages/integrations/build/**
183155
${{ github.workspace }}/packages/tracing/build/**
184156
${{ github.workspace }}/packages/**/*.tgz
157+
158+
job_browserstack_test:
159+
name: BrowserStack
160+
needs: job_build
161+
runs-on: ubuntu-latest
162+
if: "github.ref == 'refs/heads/master'"
163+
steps:
164+
- uses: actions/checkout@v2
165+
- uses: actions/setup-node@v1
166+
- uses: actions/cache@v2
167+
with:
168+
path: |
169+
${{ github.workspace }}/node_modules
170+
${{ github.workspace }}/packages/**/node_modules
171+
${{ github.workspace }}/packages/**/build
172+
${{ github.workspace }}/packages/**/dist
173+
${{ github.workspace }}/packages/**/esm
174+
key: ${{ runner.os }}-${{ github.sha }}
175+
- run: yarn install
176+
- name: Integration Tests
177+
env:
178+
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
179+
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
180+
run: |
181+
cd packages/browser
182+
yarn test:integration:checkbrowsers
183+
yarn test:integration
184+
yarn test:package

0 commit comments

Comments
 (0)