Skip to content

Commit

Permalink
fix: install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeekens committed Jan 11, 2024
1 parent 8679b05 commit a04c1ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ jobs:
with:
run_install: false

- name: Storing release version for changeset
id: release_version
run: ./scripts/echo-release-version.sh
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Ouptut release version
run: echo "The release version is ${{ steps.release_version.outputs.RELEASE_VERSION }}"

- name: Setup Node (uses version in .nvmrc)
uses: actions/setup-node@v3
with:
Expand All @@ -52,6 +42,16 @@ jobs:
pnpm version
pnpm install
- name: Storing release version for changeset
id: release_version
run: ./scripts/echo-release-version.sh
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Ouptut release version
run: echo "The release version is ${{ steps.release_version.outputs.RELEASE_VERSION }}"

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
Expand Down
2 changes: 1 addition & 1 deletion scripts/echo-release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

echo "Running 'changeset version' to know the new release version"

pnpm changeset version
pnpm changeset version &>/dev/null

echo "Running 'git status' to see the worktree changes"

Expand Down

0 comments on commit a04c1ee

Please sign in to comment.