Skip to content

release

release #566

Workflow file for this run

name: release
on:
schedule:
- cron: '0 23 * * *'
workflow_dispatch:
jobs:
release:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_ADMIN_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18.8.0
always-auth: true
cache: yarn
- name: Setup Git
run: |
git config --local user.name "Artem Zakharchenko"
git config --local user.email "[email protected]"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Release
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}