Skip to content

chore(release): bump version to 1.3.0 #80

chore(release): bump version to 1.3.0

chore(release): bump version to 1.3.0 #80

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.15.0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install npm for OIDC
run: npm install -g npm@latest
- name: Install dependencies
working-directory: packages/core
run: pnpm install --frozen-lockfile
- name: Build package
working-directory: packages/core
run: pnpm run build
- uses: JS-DevTools/npm-publish@v4
id: publish
with:
package: "packages/core"
registry: "https://registry.npmjs.org"
access: "public"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
if: ${{ steps.publish.outputs.type != 'none' }}
with:
body: See [CHANGELOG.md](https://github.com/ManningWorks/Projex/blob/main/CHANGELOG.md) for full details.
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}