Skip to content

Merge pull request #695 from Atom-Learning/fix/publish-config #305

Merge pull request #695 from Atom-Learning/fix/publish-config

Merge pull request #695 from Atom-Learning/fix/publish-config #305

Workflow file for this run

name: Release npm package
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'lib/**'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '20.11'
- run: yarn install --immutable
- run: yarn semantic-release
working-directory: lib
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}