Skip to content

Update publish.yml

Update publish.yml #8

Workflow file for this run

name: "publish package to npm"
on:
push:
branches:
- main
- 'releases/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: install dependencies
run: npm install
- name: build package
run: npm run build
- name: publish
uses: codfish/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}