Skip to content

Commit

Permalink
use github actions to publish the package
Browse files Browse the repository at this point in the history
  • Loading branch information
ntraut committed Jan 22, 2024
1 parent cf404f6 commit bc604ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches: main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- run: npm run build
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nwl-components",
"version": "1.3.7",
"version": "1.3.8",
"files": [
"dist"
],
Expand Down

0 comments on commit bc604ea

Please sign in to comment.