Skip to content

Merge pull request #16 from ripe-tech/version-0.5.1 #6

Merge pull request #16 from ripe-tech/version-0.5.1

Merge pull request #16 from ripe-tech/version-0.5.1 #6

Workflow file for this run

name: Deploy Workflow
on:
push:
tags:
- "*"
jobs:
build:
name: Deploy
strategy:
matrix:
node-version: [14]
runs-on: ubuntu-latest
container: node:${{ matrix.node-version }}
steps:
- uses: actions/checkout@v1
- run: node --version
- run: npm install
- run: npm install --only=dev
- run: npm run build
- run: npm run lint
- run: npm test
- run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}