Skip to content

Commit

Permalink
test login
Browse files Browse the repository at this point in the history
  • Loading branch information
CordlessWool committed Jan 10, 2024
1 parent 97bddbe commit 2aa8ba8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ jobs:
bun-version: latest
- name: Build
run: bun ./build.ts
test-login:
runs-on: ubuntu-latest
steps:
- name: Setup Node for npm
uses: actions/setup-node@v4
with:
node-version: 20
- name: Login
run: npm login
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish:
name: Publish
needs: build
Expand All @@ -51,6 +62,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Login
run: npm login
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: npm publish
env:
Expand Down

0 comments on commit 2aa8ba8

Please sign in to comment.