diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 616f527..a9e6eb1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,10 +23,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 - - run: npm config set registry https://npm.pkg.github.com && npm config set //npm.pkg.github.com/:_authToken "$NODE_AUTH_TOKEN" - env: - NODE_AUTH_TOKEN: ${{ github.token }} + registry-url: "https://npm.pkg.github.com" + - run: cat <<< "$(jq '.name="@samuel-martineau/alfred-yubico-authenticator"' package.json)" > package.json - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} create-release: runs-on: macos-latest permissions: write-all diff --git a/package.json b/package.json index db927a8..a699278 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "alfred-yubico-authenticator", "type": "module", - "version": "1.0.10", + "version": "1.0.11", "description": "Alfred workflow to generate YubiKey OTPs", "main": "index.js", "repository": {