* Fix workflow * Trigger * [auto] Update compiled version * [auto] Commit modules * Push Windows changes * Fix * [auto] Update compiled version * Try removing cwd * [auto] Update compiled version * Try with path module * [auto] Update compiled version * Fix path * [auto] Update compiled version * Use raw path * [auto] Update compiled version * Other path * [auto] Update compiled version * Avoid @action/exec * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * test * [auto] Update compiled version * Try with shelljs * [auto] Update compiled version * Fix my stupidity * Copy scripts to local dir * [auto] Update compiled version * Still use path * [auto] Update compiled version * Delete entrypoint.sh * [auto] Update compiled version * Make file executable * [auto] Update compiled version * Try using bash * [auto] Update compiled version
37 lines
848 B
YAML
37 lines
848 B
YAML
name: Build & release
|
|
on:
|
|
push:
|
|
branches:
|
|
- releases/**
|
|
|
|
jobs:
|
|
build:
|
|
name: Build compiled JS 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 changes
|
|
uses: EndBug/add-and-commit@v2.1.1
|
|
with:
|
|
author_name: Federico Grandi
|
|
author_email: fgrandi30@gmail.com
|
|
force: true
|
|
message: "[auto] Update compiled version"
|
|
path: lib
|
|
pattern: "*.*"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|