Skip to content

Commit

Permalink
fix: release scripts (#1932)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
jog1t committed Jan 22, 2025
1 parent d83ab10 commit 057e98b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
File renamed without changes.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Setup
env:
Expand All @@ -56,8 +60,8 @@ jobs:
export PATH=$HOME/.deno/bin:$PATH
# Authenticate NPM
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
echo "@rivet-gg:registry=https://registry.npmjs.org/" >> ~/.npmrc
yarn config set 'npmRegistries["//registry.npmjs.org"].npmAuthToken' ${{ secrets.NPM_TOKEN }}
yarn config set 'npmScopes["@rivet-gg"].npmPublishRegistry' https://registry.npmjs.org/
if [ "${{ inputs.latest }}" = "true" ]; then
./scripts/release/main.ts --version "${{ github.event.inputs.version }}" --setup
Expand Down

0 comments on commit 057e98b

Please sign in to comment.