Skip to content

Commit

Permalink
Publish action (#18)
Browse files Browse the repository at this point in the history
* publish to npm

* publish dry-run

* indent

* npm ci

* publish
  • Loading branch information
lizozom authored Feb 28, 2024
1 parent 8cfca63 commit 59fd325
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: main
branches: main

jobs:
publish:
Expand All @@ -13,8 +13,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "18"
- run: npm run build
- run: npm test:unit
- run: npm ci
- run: npm run test:unit
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down
22 changes: 4 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"rimraf": "^5.0.5",
"semver": "^7.5.4",
"simple-git": "^3.22.0",
"stringify-package": "^1.0.1",
"supertest": "^6.3.4",
"typescript": "^4.9.3"
},
Expand Down

0 comments on commit 59fd325

Please sign in to comment.