Skip to content

Merge pull request #3 from joaoianuci/main #7

Merge pull request #3 from joaoianuci/main

Merge pull request #3 from joaoianuci/main #7

Workflow file for this run

# .github/workflows/cicd.yml
name: Env CI/CD
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
jobs:
lint:
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: yarn && yarn format && yarn lint
test:
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: yarn && yarn test
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: yarn && yarn build