Update workflow to use self-compilation
This commit is contained in:
18
.github/workflows/build-release.yml
vendored
18
.github/workflows/build-release.yml
vendored
@@ -6,8 +6,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build compiled JS version
|
name: Build release version
|
||||||
runs-on: ubuntu-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
@@ -20,11 +20,21 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
|
- name: Commit modules
|
||||||
|
uses: EndBug/add-and-commit@releases/test
|
||||||
|
with:
|
||||||
|
force: true
|
||||||
|
message: "[auto] Commit modules"
|
||||||
|
path: node_modules
|
||||||
|
pattern: "*.*"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Compile TypeScript into compressed JavaScript
|
- name: Compile TypeScript into compressed JavaScript
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit compiler version
|
||||||
uses: EndBug/add-and-commit@v2.2.0
|
uses: EndBug/add-and-commit@releases/test
|
||||||
with:
|
with:
|
||||||
force: true
|
force: true
|
||||||
message: "[auto] Update compiled version"
|
message: "[auto] Update compiled version"
|
||||||
|
|||||||
Reference in New Issue
Block a user