From 30f6aa579954de8d565aa3257f7c62c14bfa8677 Mon Sep 17 00:00:00 2001 From: Tnks2U <84176658+Tnks2U@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:21:04 +0900 Subject: [PATCH] Create release.yml --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..c239da2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: 'release' +on: + release: + types: [created] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'pnpm' + - run: pnpm install + - run: pnpm build + - uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }}