Skip to content

Update README.md

Update README.md #22

Workflow file for this run

name: Node.js CI/CD
on:
push:
branches: [ main, dev ]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org/'
- name: Install Dependencies
run: npm install
- name: Run Tests
id: tests
run: npm test
- name: Publish to Public NPM
if: github.ref == 'refs/heads/main'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.PUBLISH}}