Skip to content

Commit

Permalink
test GA publish on release
Browse files Browse the repository at this point in the history
  • Loading branch information
arzafran committed Jan 30, 2023
1 parent 0524487 commit ab406cf
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 27 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
run: npm ci
- name: Publish package on NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 0 additions & 4 deletions .husky/post-commit

This file was deleted.

2 changes: 0 additions & 2 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/index.mjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.mjs.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/index.modern.mjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.modern.mjs.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/index.umd.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.umd.js.map

This file was deleted.

Loading

0 comments on commit ab406cf

Please sign in to comment.