Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'publish' script from package.json #78

Merged
merged 6 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: 20
registry-url: 'https://nexus.mekomsolutions.net/repository/npm-public/'

- name: Install dependencies
run: yarn install

- name: Publish to NPM repository
run: npm run publish
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
],
"scripts": {
"proE2ETests": "npx playwright test",
"fossE2ETests": "npx playwright test Odoo Senaite",
"publish": "npm publish"
"fossE2ETests": "npx playwright test Odoo Senaite"
},
"publishConfig": {
"registry": "https://nexus.mekomsolutions.net/repository/npm-public/"
Expand Down