Skip to content

Bump dependencies

Bump dependencies #11

Workflow file for this run

name: Deploy to NPM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 17
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Set deployment token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- name: Deploy to NPM
run: npm publish