Merge pull request #76 from mean-dao/release/v1.3.23 #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Name of the workflow | |
name: NPM Publish | |
# Run on every commit tag which begins with "v" (e.g., "v0.1.4") | |
on: | |
push: | |
tags: | |
- "v*" | |
env: | |
NODE_VERSION: 16 | |
# Automatically create a GitHub Release, with release details specified (the relevant commits) | |
jobs: | |
release: | |
name: "Release & Publish" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
cache: 'yarn' | |
- name: Build | |
run: yarn install && yarn build | |
- name: Meandao Release & Publish Toolkit | |
uses: mean-dao/npm-publish-toolkit@v10 | |
with: | |
access: public | |
npm_token: ${{ secrets.NPM_TOKEN }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
gchat_webhook: ${{ secrets.GOOGLE_CHAT_WEBHOOK }} |