From 8822e5ee5f33a33eff62da7fe08b587fc19d74ab Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 9 May 2022 08:59:16 -0500 Subject: [PATCH] Add package generation workflow Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- .github/workflows/publish.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..ec54499 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,18 @@ +name: Build and Publish +on: + push: + tags: + - "v[0-9]+.*" +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm install + - run: npm test + - uses: JS-DevTools/npm-publish@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}