Skip to content

Update multiple dependencies to latest versions #9

Update multiple dependencies to latest versions

Update multiple dependencies to latest versions #9

Workflow file for this run

name: Build
on:
push:
branches: [dev, main]
pull_request:
branches: [dev, main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Run tests - Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run test
# Publish to npmjs
if: endsWith(github.ref, 'main')
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}