Skip to content

feat: checking hotjarID before setup (#48) #74

feat: checking hotjarID before setup (#48)

feat: checking hotjarID before setup (#48) #74

Workflow file for this run

name: Release to GitHub Packages
on:
push:
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Corepack
shell: bash
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
registry-url: "https://npm.pkg.github.com"
scope: "@thecodeorigin"
- name: Install dependencies
run: pnpm install
- name: Publish to GitHub Packages
run: pnpm -r publish --publish-branch main --access public