Edit workflows
This commit is contained in:
34
.github/workflows/build-release.yml
vendored
34
.github/workflows/build-release.yml
vendored
@@ -1,34 +0,0 @@
|
||||
name: Build & release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- releases/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build release version
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 12.0.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Compile TypeScript into compressed JavaScript
|
||||
run: npm run build
|
||||
|
||||
- name: Commit compiler version
|
||||
uses: EndBug/add-and-commit@releases/test
|
||||
with:
|
||||
force: true
|
||||
message: "[auto] Add compiled version"
|
||||
path: lib
|
||||
pattern: "*.*"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -2,7 +2,7 @@ name: Build
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- releases/**
|
||||
- dist
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user