feat(release): added

This commit is contained in:
Leifer Mendez
2022-12-08 22:15:46 +01:00
parent b115dc3654
commit f4ad7040ab
2 changed files with 27 additions and 3 deletions

View File

@@ -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

26
.github/workflows/relases.yml vendored Normal file
View File

@@ -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