Skip to content

chore(workflow): update steps in release and master #68

chore(workflow): update steps in release and master

chore(workflow): update steps in release and master #68

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
branches:
- master
jobs:
release-and-publish:
name: Release and publish to NPM registry
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
ref: 'master'
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install NPM dependencies
run: npm ci
- name: Release and publish to NPM registry
env:
NPM_LOGIN_TOKEN: ${{ secrets.NPM_LOGIN_TOKEN }}
SUPERCHARGE_BOT_DEPLOY_KEY: ${{ secrets.SUPERCHARGE_BOT_DEPLOY_KEY }}
run: ./release.sh