diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e944219 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: SDK build and test + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 20.x + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: "npm" + cache-dependency-path: "package-lock.json" + - name: "Install deps" + run: npm ci + - name: "Build" + run: npm run build:dist + -name: "Test" + run: npm t