Skip to content

Commit efb1cd5

Browse files
committed
edit publish workflow
edit tests workflow triggers
1 parent 86f2f3c commit efb1cd5

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
chrome-tests:
9+
tests-workflow:
1010
uses: ./.github/workflows/tests.yml
1111
publish:
12-
needs: [chrome-tests]
12+
needs: [tests-workflow]
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: read

.github/workflows/tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
tags-ignore:
11+
- '*'
12+
workflow_call:
413

514
jobs:
615
cypress-run:
@@ -9,7 +18,7 @@ jobs:
918
- uses: actions/checkout@v3
1019
- uses: actions/setup-node@v3
1120
with:
12-
node-version: '16.x'
21+
node-version: '21.x'
1322
- name: Install dependencies
1423
run: yarn
1524
- name: Install Linux Webkit deps

0 commit comments

Comments
 (0)