From e093000bbcb5314474b000b7460c49f4b38eab2c Mon Sep 17 00:00:00 2001 From: Deralden <121487413+Deralden@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:25:39 +0300 Subject: [PATCH] dev (#149) --- .github/workflows/dev.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/master.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 .github/workflows/dev.yml create mode 100644 .github/workflows/master.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml new file mode 100644 index 0000000..2a004bd --- /dev/null +++ b/.github/workflows/dev.yml @@ -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 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 0000000..b156905 --- /dev/null +++ b/.github/workflows/master.yml @@ -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