Skip to content

Commit 732660c

Browse files
committed
0.2.22
1 parent 900e1b2 commit 732660c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
with:
1919
node-version: '20'
2020
registry-url: 'https://registry.npmjs.org'
21-
cache: 'yarn'
21+
cache: 'npm'
2222
scope: '@patternize'
2323

2424
- name: Install dependencies
25-
run: yarn install --frozen-lockfile
25+
run: npm ci
2626

2727
- name: Build
28-
run: yarn build
28+
run: npm run build
2929

3030
- name: Publish to npm
3131
run: |
3232
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
33-
yarn publish --non-interactive || {
33+
npm publish || {
3434
if grep -q "You cannot publish over the previously published versions" <<< "$(cat /home/runner/.npm/_logs/*-debug-0.log)"; then
3535
echo "Version already exists on npm - treating as success"
3636
exit 0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@patternize/components",
33
"description": "React components for Patternize.io",
4-
"version": "0.2.21",
4+
"version": "0.2.22",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)