Skip to content

fix: try again with the fix #9

fix: try again with the fix

fix: try again with the fix #9

Workflow file for this run

name: "Release"
on:
push:
branches:
- main
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: checkout
uses: actions/checkout@v4
- name: node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Authenticate with GitHub package registry
run: echo -e "@upsolve-labs:registry=https://npm.pkg.github.com/\n//npm.pkg.github.com/:_authToken=${{ secrets.PAT }}" >> .npmrc
- name: install react
run: npm i react
- name: install dependencies
run: npm ci
- name: build
run: npm run build
- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}