Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 13, 2024
1 parent 4fc73b1 commit 89fb06c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

jobs:
build:
permissions:
contents: write

strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: NPM
name: npm

on:
push:
Expand All @@ -8,7 +8,6 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
if: ${{ secrets.NPM_TOKEN }}

steps:
- name: Check out
Expand All @@ -21,6 +20,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Publish
if: ${{ env.NODE_AUTH_TOKEN }}
run: bash .github/workflows/publish.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
release:
permissions:
contents: write

runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 89fb06c

Please sign in to comment.