Skip to content

feat: TET-904 add MetricsCard (#155) #70

feat: TET-904 add MetricsCard (#155)

feat: TET-904 add MetricsCard (#155) #70

on:
push:
branches:
- "main"
workflow_dispatch:
name: Release Latest [Automatic]
permissions:
contents: write
pull-requests: write
jobs:
release-latest:
name: Release Latest
runs-on: ubuntu-latest
environment:
name: production
strategy:
matrix:
node-version: [18.x]
if: contains(github.event.head_commit.message, 'chore(main)')
steps:
- name: Create Tag and Release
uses: google-github-actions/[email protected]
id: release-latest
with:
release-type: node
package-name: "@virtuslab/tetrisly-react"
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Change from RC to Latest
run: npm dist-tag add $(npm dist-tag rm @virtuslab/tetrisly-react@rc rc | cut -c 6-) latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}