Skip to content

Commit 1d1f568

Browse files
committed
Update checkout action
1 parent 010314c commit 1d1f568

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/test.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ jobs:
1111
os: [macos-latest, ubuntu-latest, windows-latest]
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
15-
14+
uses: actions/checkout@v4
1615
- name: Install
1716
run: npm ci --ignore-scripts
18-
1917
- name: Lint
2018
run: npm run lint
21-
2219
- name: Build
2320
run: npm run build
2421

@@ -27,34 +24,27 @@ jobs:
2724
runs-on: ubuntu-latest
2825
steps:
2926
- name: Checkout
30-
uses: actions/checkout@v2
31-
27+
uses: actions/checkout@v4
3228
- name: Install
3329
run: npm ci --ignore-scripts
34-
3530
- name: Build
3631
run: npm run build
37-
3832
- name: Setup BrowserStack environment
3933
uses: browserstack/github-actions/setup-env@master
4034
with:
4135
username: ${{ secrets.BROWSERSTACK_USERNAME }}
4236
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
43-
4437
- name: Start BrowserStack tunnel
4538
uses: browserstack/github-actions/setup-local@master
4639
with:
4740
local-testing: start
4841
local-identifier: random
49-
5042
- name: Run tests on BrowserStack
5143
run: npm run test-remote
52-
5344
- name: Stop BrowserStack tunnel
5445
uses: browserstack/github-actions/setup-local@master
5546
with:
5647
local-testing: stop
57-
5848
- name: Report code coverage
5949
uses: codacy/codacy-coverage-reporter-action@v1
6050
with:

0 commit comments

Comments
 (0)