Skip to content

Merge pull request #33 from Boulevard/pat/fix-npm-token #42

Merge pull request #33 from Boulevard/pat/fix-npm-token

Merge pull request #33 from Boulevard/pat/fix-npm-token #42

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
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
npm-token: ${{ secrets.NPM_TOKEN }}
- run: npm test
env:
TZ: "America/Los_Angeles"
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