From c23e11664d8ad9b3e6fd4571fd776b5048c913f5 Mon Sep 17 00:00:00 2001 From: Gordon Goldbach Date: Mon, 16 Sep 2024 19:57:00 +0200 Subject: [PATCH] Create npm-build.yml --- .github/workflows/npm-build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/npm-build.yml diff --git a/.github/workflows/npm-build.yml b/.github/workflows/npm-build.yml new file mode 100644 index 0000000..9032bf8 --- /dev/null +++ b/.github/workflows/npm-build.yml @@ -0,0 +1,19 @@ +# 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: Build Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm ci + - run: npm build