File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : " Build"
2
+ on : [pull_request, push, workflow_dispatch]
3
+
4
+ jobs :
5
+ build : # make sure build/ci work properly
6
+ name : Build on ${{ matrix.os }}
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : [ubuntu-latest, windows-latest, macos-latest]
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - run : |
14
+ npm install
15
+ npm run all
Original file line number Diff line number Diff line change 1
- name : " CI "
2
- on : [pull_request, push, workflow_dispatch]
1
+ name : " E2E test "
2
+ on : [push, workflow_dispatch]
3
3
4
- jobs :
5
- build : # make sure build/ci work properly
6
- name : CI on ${{ matrix.os }}
7
- runs-on : ${{ matrix.os }}
8
- strategy :
9
- matrix :
10
- os : [ubuntu-latest, windows-latest, macos-latest]
11
- steps :
12
- - uses : actions/checkout@v4
13
- - run : |
14
- npm install
15
- npm run all
4
+ # End to end tests require content permissions to create releases
5
+ # This essentially gives permissions to make ANY change in the repository, so we should not grant this to PRs
6
+ # This is an open issue for Github, see https://github.com/orgs/community/discussions/68252
16
7
8
+ jobs :
17
9
test : # make sure the action works on a clean machine without building
18
10
name : E2E test
19
11
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments