Skip to content

Update Readme.md

Update Readme.md #36

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '17.x'
cache: 'npm'
- name: Install
run: env NODE_ENV=development npm install --prefer-offline --no-audit
- name: Test
run: make test
- name: Build
run: env NODE_ENV=production make build
- id: Publish
uses: JS-DevTools/npm-publish@v1
with:
registry: 'https://registry.npmjs.org/'
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
check-version: true
- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"