mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
27 lines
692 B
YAML
27 lines
692 B
YAML
name: Bot Relases
|
|
|
|
on:
|
|
release:
|
|
types: [released, published]
|
|
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
|