From e4450c8417624b71d779cb4f41692538f9165e10 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sat, 2 Sep 2023 19:12:47 -0400 Subject: first commit --- .../.github/workflows/build-and-test.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 node_modules/magic-bytes.js/.github/workflows/build-and-test.yml (limited to 'node_modules/magic-bytes.js/.github/workflows') diff --git a/node_modules/magic-bytes.js/.github/workflows/build-and-test.yml b/node_modules/magic-bytes.js/.github/workflows/build-and-test.yml new file mode 100644 index 0000000..199d121 --- /dev/null +++ b/node_modules/magic-bytes.js/.github/workflows/build-and-test.yml @@ -0,0 +1,29 @@ + +name: Build and test +on: + push: + branches: [master] +jobs: + buildAndTest: + name: Build and test (Node.js v${{ matrix.node-version }}) + timeout-minutes: 15 + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14] + steps: + - uses: actions/checkout@v2 + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + registry-url: 'https://registry.npmjs.org' + - name: Install install dependencies + run: npm ci + - name: test + run: npm test + - name: build + run: npm run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET_TOKEN }} -- cgit v1.2.3