From aecfd6262a308c4eee864bb8d02126134e91c3b0 Mon Sep 17 00:00:00 2001 From: Federico Grandi Date: Sat, 14 Dec 2019 22:52:07 +0100 Subject: [PATCH] Update workflow to use self-compilation --- .github/workflows/build-release.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 84450f4..355fe23 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -6,8 +6,8 @@ on: jobs: build: - name: Build compiled JS version - runs-on: ubuntu-latest + name: Build release version + runs-on: windows-latest steps: - name: Checkout repository uses: actions/checkout@master @@ -20,11 +20,21 @@ jobs: - name: Install dependencies 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 run: npm run build - - name: Commit changes - uses: EndBug/add-and-commit@v2.2.0 + - name: Commit compiler version + uses: EndBug/add-and-commit@releases/test with: force: true message: "[auto] Update compiled version"