Skip to content

Commit

Permalink
Merge pull request #3 from weng-lab/workflow/publish-changes
Browse files Browse the repository at this point in the history
Update package.json & workflow to publish @weng-lab npm organization
  • Loading branch information
jpfisher72 authored Apr 10, 2023
2 parents 8f86994 + e6dbb51 commit 1a68a15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn
Expand All @@ -21,12 +21,12 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn publish --non-interactive
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,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": "0.6.6",
"license": "MIT",
"main": "dist/index.js",
Expand Down Expand Up @@ -35,8 +38,6 @@
"singleQuote": true,
"trailingComma": "es5"
},
"name": "@zscreen/psychscreen-ui-components",
"author": "hpratt",
"module": "dist/psychscreen-ui-components.esm.js",
"size-limit": [
{
Expand Down

0 comments on commit 1a68a15

Please sign in to comment.