Skip to content

Commit

Permalink
MWD publish gh action uses npm instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Jan 29, 2025
1 parent e798f24 commit 20e98c7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish_widget_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ jobs:
with:
node-version: '18.13.0'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- run: |
cat > .yarnrc.yml << EOL
npmRegistryServer: 'https://registry.npmjs.org'
npmAuthToken: \${{ secrets.NPM_TOKEN }}
EOL
- run: yarn publish public/dist
- run: npm install
- run: npm run build
- run: npm publish public/dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 20e98c7

Please sign in to comment.