diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 813ee0a..b1060c8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -14,7 +14,8 @@ jobs: node-version: 12 registry-url: https://npm.pkg.github.com/ scope: '@leviy' - - run: npm --no-git-tag-version version ${{github.event.release.name}} - - run: npm publish + - run: | + npm --no-git-tag-version version ${{github.event.release.name}} + npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..d6c8d3d --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@leviy:registry=https://npm.pkg.github.com diff --git a/package.json b/package.json index 5698b8f..b869f4b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "homepage": "https://github.com/leviy/jest-preset-default/", "dependencies": { - "@leviy/jest-twig-transformer": "^1.1", + "@leviy/jest-twig-transformer": "^1.2", "identity-obj-proxy": "^3.0" }, "peerDependencies": {