Skip to content

Commit

Permalink
v0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardssh committed Feb 10, 2023
1 parent 0e2e099 commit 6b8e804
Show file tree
Hide file tree
Showing 8 changed files with 2,815 additions and 3,079 deletions.
1 change: 0 additions & 1 deletion .github/husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/pre-commit

This file was deleted.

83 changes: 0 additions & 83 deletions .github/workflows/continuous-delivery.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: NPM Publish

on:
push:
tags:
- '*'

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/[email protected]

- name: Use Node.js v16
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3
with:
node-version: 16
cache: npm
registry-url: https://registry.npmjs.org

- name: Install Dependencies
run: |
npm install
- name: Build Library
run: npm run build

- name: Publish
run: |
npm set registry "https://registry.npmjs.org"
npm set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
Loading

0 comments on commit 6b8e804

Please sign in to comment.