Skip to content

v1.1.0

v1.1.0 #4

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release:
runs-on: macos-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.x"
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
- name: Release @hyperjumptech/react-next-pathname
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: packages/react-next-pathname
- name: Release @hyperjumptech/react-next-pathname-nextjs
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: packages/react-next-pathname-nextjs