Skip to content

Commit 84de414

Browse files
authored
chore: fixes release workflow (#575)
1 parent c465480 commit 84de414

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
registry-url: "https://registry.npmjs.org"
20+
- name: Enable Corepack
21+
run: corepack enable
22+
23+
- name: Get yarn cache directory path
24+
id: yarn-cache-dir-path
25+
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
2026

2127
- name: Cache Yarn dependencies
2228
uses: actions/cache@v4
2329
with:
2430
path: |
25-
~/.cache/yarn
31+
${{ steps.yarn-cache-dir-path.outputs.dir }}
2632
**/node_modules
2733
key: yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
2834
restore-keys: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,5 +507,5 @@ If you'd like to try the functionality available on `main`, see the preview [on
507507
1. Run `yarn changeset version` to generate changelog files and version bumps from the changeset files
508508
1. Run `yarn install` to update yarn.lock with the new versions
509509
1. Verify that the changelogs look good, commit changes, open a PR, merge the PR
510-
1. Push tags for each package in the format `[email protected]`. A Github action will publish the packages on NPM
510+
1. Push tags for each package in the format `@getodk/<package>@x.x.x`. A Github action will publish the packages on NPM
511511
1. Update dependencies to kick off the new release cycle. We do this so that dependency updates get verified implicitly during development.

0 commit comments

Comments
 (0)