Skip to content

release: Release version 3.0.1 #24

release: Release version 3.0.1

release: Release version 3.0.1 #24

Workflow file for this run

name: Release
on:
push:
tags: [v*]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'
cache: yarn
scope: '@morev'
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Make public and configure postinstall hook
run: yarn prepack
- name: Create release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}