Skip to content

Commit bf6f80d

Browse files
committed
Refactor Actions
1 parent ca696ba commit bf6f80d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: .github/workflows/main.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
name: main
2-
on:
3-
push:
4-
branches:
5-
- main
6-
schedule:
7-
- cron: '45 7 * * *'
81
jobs:
92
main:
103
runs-on: ubuntu-latest
@@ -16,12 +9,12 @@ jobs:
169
with:
1710
node-version: lts/*
1811
- run: npm install
19-
- run: npm test
20-
env:
21-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
12+
- env:
2213
GH_TOKEN: ${{secrets.GH_TOKEN}}
14+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
2315
OC_TOKEN: ${{secrets.OC_TOKEN}}
2416
UNIFIED_OPTIMIZE_IMAGES: 1
17+
run: npm test
2518
- uses: JamesIves/github-pages-deploy-action@releases/v4
2619
with:
2720
branch: dist
@@ -30,3 +23,10 @@ jobs:
3023
git-config-email: [email protected]
3124
git-config-name: Titus Wormer
3225
single-commit: true
26+
name: main
27+
on:
28+
push:
29+
branches:
30+
- main
31+
schedule:
32+
- cron: '45 7 * * *'

0 commit comments

Comments
 (0)