From f4ad7040abf619635480c30babd6f1159c7af85a Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Thu, 8 Dec 2022 22:15:46 +0100 Subject: [PATCH] feat(release): added --- .github/workflows/ci.yml | 4 +--- .github/workflows/relases.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/relases.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eb247b..5d6690f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Bot CI +name: Bot CI Test on: push: @@ -23,7 +23,5 @@ jobs: - run: corepack enable - name: Install NPM Dependencies run: yarn install --immutable --network-timeout 300000 - - name: Build - run: yarn build - name: Test run: yarn test diff --git a/.github/workflows/relases.yml b/.github/workflows/relases.yml new file mode 100644 index 0000000..7c48cf6 --- /dev/null +++ b/.github/workflows/relases.yml @@ -0,0 +1,26 @@ +name: Bot Relases + +on: + release: + types: [released] +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: corepack enable + - name: Install NPM Dependencies + run: yarn install --immutable --network-timeout 300000 + - name: Test + run: yarn test + - name: Build + run: yarn build