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 56b7da8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build

permissions:
contents: write

on:
release:
types:
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: ${{ secrets.NPM_TOKEN }}
run: bash .github/workflows/publish.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 56b7da8

Please sign in to comment.