Skip to content

Commit

Permalink
Merge pull request #71 from thencc/main
Browse files Browse the repository at this point in the history
0.3.0 merge to latest
  • Loading branch information
spencercap authored Jun 6, 2023
2 parents 44d9d40 + 090f568 commit 9ab43b6
Show file tree
Hide file tree
Showing 201 changed files with 36,085 additions and 11,454 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/npm-publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,20 @@ jobs:
- name: "setup node"
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
registry-url: 'https://registry.npmjs.org'
# creates an .npmrc

- name: "install"
run: npm ci
- name: "setup pnpm"
uses: pnpm/[email protected]
with:
version: 8.5.0
# auto install on use
run_install: |
args: [--no-frozen-lockfile, --strict-peer-dependencies]
- name: "build"
run: npm run build
run: pnpm run build

- name: "publish"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: "setup node"
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
registry-url: 'https://registry.npmjs.org'
# creates an .npmrc

Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: "setup node env"
uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm ci
- run: npm run build --if-present
node-version: 16

- uses: pnpm/[email protected]
with:
version: 8.5.0
run_install: |
args: [--no-frozen-lockfile, --strict-peer-dependencies]
# old way:
# - run: npm ci
# - run: npm run build

# new way: (faster)
- run: pnpm build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
coverage/
node_modules
.DS_Store
*.local
Expand Down
Loading

0 comments on commit 9ab43b6

Please sign in to comment.