Skip to content

Commit

Permalink
Hopefully fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfisher72 committed Oct 7, 2024
1 parent f3d9e95 commit 1dab63e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
with:
node-version: 20
- run: npm install
- run: npm build

publish-npm:
needs: build
Expand All @@ -27,6 +28,7 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
1 change: 1 addition & 0 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
npm install
npm build
npm run build-storybook
- name: Deploy 🚀
uses: JamesIves/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weng-lab/psychscreen-ui-components",
"description": "Typescript and Material UI based components used for psychSCREEN",
"author": "SCREEN Team @ UMass Chan Medical School",
"version": "2.0.1",
"version": "2.0.2",
"license": "MIT",
"type": "module",
"typings": "dist/index.d.ts",
Expand All @@ -13,10 +13,8 @@
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"sb": "storybook dev -p 6006",
"build-storybook": "storybook build"
Expand Down

0 comments on commit 1dab63e

Please sign in to comment.