a60860867c
* build: autorelease preview on every commit during pull request * add github workflow * update readme * update docs * log changed files * remove depth * fetch pr head * remove console.log * log pr number * pull pr number * use pull request number in release version * dummy * dummy * dummy * fix * dummy * fix * Add comment and set output as version * dummy * fix * fix * set output through js toolkit * install * dummy * update * fix * fix * typo * update * condition * typo * testing * wrap conditions * echo * hope it works * test * test * yay test again * test updated * remove reaction * run if comment triggered * fix * fix * Update script after testing in fork * remove * update changelog * update readme * update * remove * append pr number then commit hash
28 lines
634 B
YAML
28 lines
634 B
YAML
name: Auto release @excalidraw/excalidraw-next
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
Auto-release-excalidraw-next:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 2
|
|
- name: Setup Node.js 14.x
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 14.x
|
|
- name: Set up publish access
|
|
run: |
|
|
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
- name: Auto release
|
|
run: |
|
|
yarn add @actions/core
|
|
yarn autorelease
|