Skip to content

Commit

Permalink
Remove 'publish' script from package.json (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaud authored Apr 8, 2024
1 parent 66ab49a commit 02faa74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
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

0 comments on commit 02faa74

Please sign in to comment.