mirror of
https://github.com/sern-handler/cli
synced 2026-06-06 01:16:53 +00:00
ci: testing npm 3x
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
Publish:
|
||||
name: Building
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -27,13 +27,8 @@ jobs:
|
||||
- name: Test Sern
|
||||
run: sern
|
||||
|
||||
Publish:
|
||||
name: Publishing to npm
|
||||
runs-on: ubuntu-latest
|
||||
needs: [Build]
|
||||
steps:
|
||||
- name: Publish to npm
|
||||
run: npm publish ../ --dry-run
|
||||
run: npm publish --dry-run
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user