Skip to content

Updated metadata.json #93

Updated metadata.json

Updated metadata.json #93

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
paths-ignore:
- '**.md'
workflow_run:
workflows: ["generate_repository_file"]
types:
- completed
jobs:
publish:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'release:')"
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Run Semantic Release
env:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release