From 1889a2dd5e8c8c397c17997defc68f83ad0d4521 Mon Sep 17 00:00:00 2001 From: jen Date: Fri, 19 Jan 2024 15:45:53 +0000 Subject: [PATCH] release --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..8429873 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Release + +on: + push: + branches: ["main", "[0-9].*.*"] + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout 🛎 + uses: actions/checkout@master + + - name: Setup node env 🏗 + uses: actions/setup-node@v3 + with: + node-version: 18 + check-latest: true + + - name: Install dependencies 👨🏻‍ + run: yarn install + + - name: Release 🚀 + run: yarn release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file