From 0db84dc3205c367a111098f28c325e33b643adb2 Mon Sep 17 00:00:00 2001 From: Sanghyeon Sim <5338095@gmail.com> Date: Thu, 24 Aug 2023 22:34:57 +0900 Subject: [PATCH] chore: github action on tag added --- .github/workflows/npm-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b738d23..e9abe48 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,8 +1,9 @@ name: Node.js Package on: - release: - types: [created] + create: + tags: + - v* jobs: build: @@ -13,6 +14,7 @@ jobs: with: node-version: 16 - run: npm ci + - run: npm run format - run: npm test publish-npm: