Skip to content

Merge pull request #22 from Boulevard/v2.0.0 #34

Merge pull request #22 from Boulevard/v2.0.0

Merge pull request #22 from Boulevard/v2.0.0 #34

name: "Tagged release and publishing"
on:
push:
tags:
- "v*"
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
environment: integration-sandbox
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm test
env:
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}