Skip to content

Commit 0f51531

Browse files
Merge pull request #1 from ScriptAddicts/reshuffle-lib-structure
Lib as NPM package + reorganisation
2 parents d0a87c6 + 661a3d6 commit 0f51531

File tree

24 files changed

+2082
-672
lines changed

24 files changed

+2082
-672
lines changed

.codeclimate.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/npm_deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: NPM PUBLISH
5+
6+
on:
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: "16.x"
20+
registry-url: https://npm.pkg.github.com
21+
scope: "@scriptaddicts"
22+
- run: npm ci
23+
- run: npm run build
24+
- run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

0 commit comments

Comments
 (0)