Skip to content

Commit 6f776c8

Browse files
committed
initial commit
0 parents  commit 6f776c8

File tree

13 files changed

+1035
-0
lines changed

13 files changed

+1035
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3+
4+
name: Publish package to GitHub Packages
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
publish-gpr:
12+
runs-on: ubuntu-22.04
13+
permissions:
14+
contents: read
15+
packages: write
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
21+
registry-url: https://npm.pkg.github.com/
22+
- run: npm ci
23+
env:
24+
NODE_AUTH_TOKEN: ${{secrets.REPO_AUTH_TOKEN}}
25+
- run: npm run build
26+
- run: npm publish
27+
env:
28+
NODE_AUTH_TOKEN: ${{secrets.REPO_AUTH_TOKEN}}

.gitignore

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

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/.git/
2+
/.github/
3+
/.vscode/
4+
/.gitignore
5+
/.npmrc
6+
/src/
7+
/tsconfig.json
8+
/tslint.json

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@emmveqz:registry=https://npm.pkg.github.com

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"editor.formatOnSave": false,
3+
"editor.insertSpaces": true,
4+
"editor.tabSize": 2,
5+
"typescript.tsdk": "./node_modules/typescript/lib"
6+
}

0 commit comments

Comments
 (0)