Skip to content

Commit

Permalink
update package json
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeexcoin committed Sep 10, 2024
1 parent ff2f3b5 commit 4914bc8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/

- run: pnpm install
- run: pnpm build
5 changes: 4 additions & 1 deletion packages/agw-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
},
"peerDependencies": {
"typescript": ">=5.0.4",
"viem": ">=2.19.0"
"viem": "^2.19.0"
},
"devDependencies": {
"viem": "^2.19.0"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down

0 comments on commit 4914bc8

Please sign in to comment.