diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index d401d4d..0d30fae 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -29,8 +29,10 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 + cache: 'npm' registry-url: https://npm.pkg.github.com/ + scope: '@ukhomeoffice' - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.GH_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package-lock.json b/package-lock.json index 7f846df..8b188be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "asl-eslint-common", - "version": "1.0.0", + "name": "@ukhomeoffice/asl-eslint-common", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "asl-eslint-common", - "version": "1.0.0", + "name": "@ukhomeoffice/asl-eslint-common", + "version": "2.0.0", "license": "MIT", "dependencies": { "eslint-config-semistandard": "^11.0.0", diff --git a/package.json b/package.json index f7b1c34..ccf97cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ukhomeoffice/asl-eslint-common", - "version": "2.0.0", + "version": "2.1.0", "description": "eslint configuration, extended out to asl code base.", "main": "index.js", "scripts": {