Skip to content

release: Release version 2.7.1 #79

release: Release version 2.7.1

release: Release version 2.7.1 #79

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: '16'
cache: yarn
scope: '@morev'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Linting
run: yarn lint
- name: Testing
run: yarn test
- name: Build
run: yarn build
- 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 }}