Skip to content

Commit ca0fa4a

Browse files
authored
Merge pull request #22 from nampc1/nampc/dev
Major refactoring and compatibility with dynamic bundle
2 parents 11a44dd + 544ca28 commit ca0fa4a

77 files changed

Lines changed: 8485 additions & 7615 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
13+
- name: Set up Node 22.19.0
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: '22.19.0'
17+
cache: 'npm'
18+
registry-url: 'https://registry.npmjs.org'
19+
20+
- name: Install dependencies
21+
run: npm clean-install
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
25+
publish:
26+
needs: test
27+
runs-on: ubuntu-latest
28+
environment: npm-publish
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- name: Set up Node 22.19.0
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: '22.19.0'
37+
cache: 'npm'
38+
registry-url: 'https://registry.npmjs.org'
39+
40+
- name: Install dependencies
41+
run: npm clean-install
42+
env:
43+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44+
45+
- name: Publish to npm
46+
run: npm publish
47+
env:
48+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ yarn-error.log*
2929
.env
3030
.env.local
3131

32+
# Docs
33+
docs/

0 commit comments

Comments
 (0)