Skip to content

Commit aecfd62

Browse files
committed
Update workflow to use self-compilation
1 parent b5a1716 commit aecfd62

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/build-release.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66

77
jobs:
88
build:
9-
name: Build compiled JS version
10-
runs-on: ubuntu-latest
9+
name: Build release version
10+
runs-on: windows-latest
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@master
@@ -20,11 +20,21 @@ jobs:
2020
- name: Install dependencies
2121
run: npm install
2222

23+
- name: Commit modules
24+
uses: EndBug/add-and-commit@releases/test
25+
with:
26+
force: true
27+
message: "[auto] Commit modules"
28+
path: node_modules
29+
pattern: "*.*"
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
2333
- name: Compile TypeScript into compressed JavaScript
2434
run: npm run build
2535

26-
- name: Commit changes
27-
uses: EndBug/add-and-commit@v2.2.0
36+
- name: Commit compiler version
37+
uses: EndBug/add-and-commit@releases/test
2838
with:
2939
force: true
3040
message: "[auto] Update compiled version"

0 commit comments

Comments
 (0)