Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Deralden committed Jun 20, 2024
1 parent 686ab3a commit 824b08f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: tests_development
on:
# push:
# branches: [ "development" ]
pull_request:
branches: [ "development" ]
workflow_dispatch:

jobs:
run_tests_development:
runs-on: ubuntu-latest
container: node:20-bookworm
steps:

- name: clone repo
uses: actions/checkout@v3

- name: snet-sdk for node.js
run: |
cd packages/nodejs
npm install .
npm run build
- name: snet-sdk for web
run: |
cd packages/web
npm install .
npm run build
28 changes: 28 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: tests_master
on:
# push:
# branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:

jobs:
run_tests_master:
runs-on: ubuntu-latest
container: node:20-bookworm
steps:

- name: clone repo
uses: actions/checkout@v3

- name: snet-sdk for node.js
run: |
cd packages/nodejs
npm install .
npm run build
- name: snet-sdk for web
run: |
cd packages/web
npm install .
npm run build

0 comments on commit 824b08f

Please sign in to comment.