Skip to content

fix: response models and other dependency fixes (#20) #43

fix: response models and other dependency fixes (#20)

fix: response models and other dependency fixes (#20) #43

Workflow file for this run

name: Release
on:
push:
branches:
- master
permissions:
contents: write # because we want our workflow to update the package json of the packages with the latest version number
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
if: '!contains(github.event.commits.*.message, "[skip release]")'

Check failure on line 16 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 16, Col: 9): Unexpected symbol: '"'. Located at position 43 within expression: !contains(github.event.commits.*.message, "[skip release]")
environment: Production
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
env:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.PAT }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node.js LTS
uses: actions/setup-node@v3
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
with:
run_install: false
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Build the packages
run: pnpm build
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
NPM_USERNAME: "sarthakdev"
NPM_PASSWORD: ${{ secrets.NPM_PASSWORD }}
NPM_EMAIL: "contact.sarthakjain@gmail.com"
run: pnpm semantic-release