Skip to content

Commit

Permalink
Update release workflow to use latest versions of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendra790 committed Dec 12, 2023
1 parent 0378406 commit 284f38f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: pnpm/[email protected]

- name: setup node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: install dependencies

- name: Install Dependencies
run: pnpm install
- name: save new version
run: |
echo "version=$(cat package.json | jq -r '.version')" >> "$GITHUB_ENV"

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: Version Packages ${{ env.version }}
title: Release ${{ env.version }}
publish: pnpm ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 284f38f

Please sign in to comment.