Skip to content

Commit

Permalink
fix: resorted to only publish to npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Aug 10, 2023
1 parent b2bfbe8 commit 6d2e40b
Show file tree
Hide file tree
Showing 4 changed files with 4,983 additions and 10,291 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/codeql.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ on:
- main

jobs:
release:
release-npm:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -22,6 +21,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Install Dependencies
Expand All @@ -32,9 +34,7 @@ jobs:

- name: Run Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_NPM_CONFIG_REGISTRY: https://npm.pkg.github.com/
PUBLIC_NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PUBLIC_NPM_CONFIG_REGISTRY: https://registry.npmjs.org/
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit 6d2e40b

Please sign in to comment.