Skip to content

Improvement/Magenta color (#95) #181

Improvement/Magenta color (#95)

Improvement/Magenta color (#95) #181

Workflow file for this run

name: Package publish
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: https://npm.pkg.github.com/
scope: "@weglot"
- run: npm install
- run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]"
- run: npm version ${GITHUB_REF##*/}
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}