Skip to content

Merge branch 'main' of https://github.com/vcian/lint-sage #1

Merge branch 'main' of https://github.com/vcian/lint-sage

Merge branch 'main' of https://github.com/vcian/lint-sage #1

Workflow file for this run

name: NPM Publish
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}