Skip to content

Merge pull request #107 from Sreejit7/v0.46.7 #164

Merge pull request #107 from Sreejit7/v0.46.7

Merge pull request #107 from Sreejit7/v0.46.7 #164

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- master
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '12.x'
- name: Install deps and build
run: yarn install --immutable --immutable-cache --check-cache && yarn run build
- name: Publish if version has been updated
uses: JS-DevTools/npm-publish@v1
with: # Token is a required input
token: ${{ secrets.NPM_AUTH_TOKEN }}
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings