Skip to content

Release v1.0.9 (#125) #51

Release v1.0.9 (#125)

Release v1.0.9 (#125) #51

Workflow file for this run

on:
push:
branches:
- master
name: build-release
jobs:
build:
name: build-release
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "16.x"
- run: sudo npm i -g @vercel/ncc
- run: npm install
- name: Compile files
run: |
ncc build -C -m src/entrypoint.ts
- name: Commit Files
continue-on-error: true # commit will fail if the code wasn't changed. Prevent the build to fail in this case.
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add dist/index.js -f
git commit -m "Add changes"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master