Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

chore(release): 2.2.1 #22

chore(release): 2.2.1

chore(release): 2.2.1 #22

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
name: Publish packages to npmjs
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: Git Checkout
uses: actions/checkout@master
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install --no-package-lock
- name: Bootstrap lerna
run: npm run bootstrap
- name: Build packages
run: npx lerna run build
- name: Setup npm
run: npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}"
- name: Publish to npmjs
run: npx lerna publish from-package --yes --registry https://registry.npmjs.org/ --loglevel debug --no-git-tag-version --no-push --no-verify-access
- name: Setup npm
run: npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}"
- name: Publish to github packages
run: npx lerna publish from-package --yes --registry https://npm.pkg.github.com/ --loglevel debug --no-git-tag-version --no-push --no-verify-access
- name: Build github release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false