added vercel token as github secret #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[CI] Continuous Integration" | |
#Sempre que houver um commit ou um PR for aberto | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
## Common ci steps | |
- uses: actions/checkout@v3 | |
# =============================== | |
- name: "Debug" | |
run: "ls -la" | |
- name: "Install Dependencies" | |
run: "npm install" | |
- name: "Lint" | |
run: "npm run lint" | |
test: | |
runs-on: ubuntu-latest | |
container: cypress/browsers:node18.12.0-chrome107 | |
steps: | |
## Common ci steps | |
- uses: actions/checkout@v3 | |
# =============================== | |
- name: "Install Dependencies" | |
run: "npm install" | |
- name: "Test" | |
run: "npm run test" |