Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Martineau committed Aug 4, 2023
1 parent 2ffb2b9 commit 09ad045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yaml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down

0 comments on commit 09ad045

Please sign in to comment.