Skip to content

Commit

Permalink
FIX: done
Browse files Browse the repository at this point in the history
  • Loading branch information
eagerterrier committed May 9, 2024
1 parent 2a2dc0a commit 7d60de4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/web-vitals-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
run: ./scripts/installNodeModules.sh

- name: Publish to NPM
run: yarn run publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/web-vitals",
"version": "2.1.1",
"version": "2.1.9",
"main": "dist/index.js",
"module": "esm/index.js",
"exports": {
Expand All @@ -19,7 +19,7 @@
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "npx babel src -d dist --ignore '**/*.test.js'",
"build:esm": "BABEL_TYPE=esm npx babel src -d esm --ignore '**/*.test.js'",
"publish": "node scripts/publish",
"publish": "npm publish",
"prepublish": "yarn build",
"test": "yarn test:lint && yarn test:unit",
"test:ci": "yarn test:lint && yarn test:unit:ci",
Expand All @@ -29,7 +29,10 @@
},
"repository": {
"type": "git",
"url": "https://github.com/bbc/web-vitals"
"url": "git+https://github.com/bbc/web-vitals.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": {
"name": "BBC"
Expand Down

0 comments on commit 7d60de4

Please sign in to comment.