Skip to content

Commit

Permalink
fix: fix on release file (#213)
Browse files Browse the repository at this point in the history
* fix: fix on release file
  • Loading branch information
samuelOsborne committed Jun 8, 2023
1 parent cec4885 commit 10aa5a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: ⎔ Setup Node@18
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18
# scope: "@lottiefiles"
# registry-url: "https://npm.pkg.github.com/"
Expand All @@ -35,17 +34,18 @@ jobs:
- name: 🏗 Build
run: pnpm build

# - name: 🔍 Verify types
# run: pnpm type-check

- name: 💅 Verify format (`pnpm format` committed?)
run: pnpm format --check --no-write

- name: 🛡️ Test
run: pnpm test

# - name: 🔍 Verify types
# run: pnpm type-check

# - name: 🕵️ Lint
# run: pnpm lint

- name: 🛡️ Test
run: pnpm test
release:
needs: validate
runs-on: ubuntu-latest
Expand All @@ -62,7 +62,6 @@ jobs:
- name: ⎔ Setup Node@18 for Github Packages
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18
# scope: "@lottiefiles"
# registry-url: "https://npm.pkg.github.com/"
Expand Down Expand Up @@ -97,7 +96,6 @@ jobs:
- name: ⎔ Setup Node@18 for NPM
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18
scope: '@lottiefiles'
registry-url: https://registry.npmjs.org/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"open": "cypress open",
"preinstall": "npx only-allow pnpm",
"release": "pnpm release:version && pnpm release:publish",
"release:publish": "pnpm clean && pnpm build && changeset publish",
"release:publish": "pnpm build && changeset publish",
"release:tag": "changeset tag",
"release:version": "changeset version",
"test": "cypress run --component",
Expand Down

0 comments on commit 10aa5a1

Please sign in to comment.