27 lines
601 B
YAML
27 lines
601 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 autorelease
|