Skip to content

Commit f490bc1

Browse files
authored
ci: ✨ run tests on a nightly basis (#1303)
* ci: ✨ run tests on a nightly basis * ci: add conditional for canary test job
1 parent 6fca3b6 commit f490bc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: Plugin Tests
22

33
on:
4+
pull_request:
45
push:
56
branches: [main]
6-
pull_request:
7+
schedule:
8+
- cron: '0 0 * * *'
79

810
jobs:
911
build:
@@ -50,6 +52,7 @@ jobs:
5052
node-version: 12
5153
fail-fast: false
5254

55+
if: github.ref_name == 'main'
5356
steps:
5457
- uses: actions/checkout@v2
5558
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)