Skip to content

entry point

entry point #5

Workflow file for this run

name: 'version'
on:
push:
branches:
- main
jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: |
npm install
npm run build
npm run package
- name: release
run: |
set -eux
git config --global user.email "[email protected]"
git config --global user.name "Cyan [Auto Commit]"
git fetch --all
git add -f dist
git commit -am "release ${{ github.sha }}"
git checkout release
git merge --allow-unrelated-histories -X theirs main -m "merge ${{ github.sha }}"
git push origin release:release