File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 11name : Redeploy Docs
22on :
33 push :
4- branches : [master ]
4+ branches : [main ]
55
66jobs :
77 redeploy-docs :
8- uses : swup/.github/.github/workflows/redeploy-docs.yml@master
8+ uses : swup/.github/.github/workflows/redeploy-docs.yml@main
99 secrets : inherit
Original file line number Diff line number Diff line change 1+ name : Unit tests
2+
3+ on :
4+ push :
5+ branches : [master, main, next]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ jobs :
10+ run-tests :
11+ name : Run unit tests
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 5
14+
15+ steps :
16+ - name : Check out repo
17+ uses : actions/checkout@v3
18+
19+ - name : Set up node
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 18
23+
24+ - run : npm ci
25+ - run : npm run build
26+
27+ - name : Run tests
28+ run : npm run test:unit
Original file line number Diff line number Diff line change 2828 run : npm --no-git-tag-version version ${{ inputs.segment }}
2929 - uses : peter-evans/create-pull-request@v4
3030 with :
31- base : ' master '
31+ base : ' main '
3232 branch : ' version/automated'
3333 title : ' Update package version (automated)'
3434 commit-message : ' Update package version'
You can’t perform that action at this time.
0 commit comments