Skip to content

chore(deps): bump path-to-regexp from 2.4.0 to 3.3.0 in /packages/par… #51

chore(deps): bump path-to-regexp from 2.4.0 to 3.3.0 in /packages/par…

chore(deps): bump path-to-regexp from 2.4.0 to 3.3.0 in /packages/par… #51

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
prepare:
name: Prepare
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- id: commit
run: echo "message=${{ github.event.head_commit.message }}" >> $GITHUB_OUTPUT
outputs:
commitMsg: ${{ steps.commit.outputs.message }}
release:
name: Release
needs: prepare
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run Tests
run: npm test
- name: Release
env:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |-
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
npm run lerna:deploy -- "${{ needs.prepare.outputs.commitMsg }}"