Skip to content

v4.2.0

v4.2.0 #11

Workflow file for this run

name: Publish
on:
push:
tags: ['*']
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm install
- name: configure npm
run: |
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: publish to npm
run: npm publish --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: postpublish
run: npm run dist:postpublish
- uses: actions/upload-artifact@v3
with:
name: linkify
path: dist/