Skip to content

chore: correct license to CC-BY-NC 4.0 (#92) #45

chore: correct license to CC-BY-NC 4.0 (#92)

chore: correct license to CC-BY-NC 4.0 (#92) #45

Workflow file for this run

name: Publish
on:
push:
branches:
- master
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Enable Corepack
run: |
corepack enable
- name: Install Dependencies
run: |
yarn install
- name: Build
run: |
yarn build
- name: Publish to NPM
id: npm-publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
- name: Create Tag
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.npm-publish.outputs.version }}
generate_release_notes: true
make_latest: true