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/