From fb5f8c38984fd40b5877affa7d5d514b9f2fd5c9 Mon Sep 17 00:00:00 2001 From: Philip Garrison Date: Sat, 30 Dec 2023 18:35:37 -0800 Subject: [PATCH] Release workflow --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b2b8acc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Release +on: + push: + tags: + - "v*.*.*" + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Node.js 20 + uses: actions/setup-node@v3 + with: + node-version: 20.x + - name: yarn install + uses: borales/actions-yarn@v4 + with: + cmd: install + - name: yarn build + uses: borales/actions-yarn@v4 + with: + cmd: build + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: dist/