generated from deco-sites/fashion
-
Notifications
You must be signed in to change notification settings - Fork 16
38 lines (28 loc) · 1011 Bytes
/
workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI Pipeline
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v2.x
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Cypress
run: npm install -g cypress
- name: Install Cypress
run: deno install npm:[email protected]
- name: Add global npm bin to PATH
run: echo "/opt/hostedtoolcache/node/18.20.5/x64/bin" >> $GITHUB_PATH # Adiciona o caminho ao PATH
- name: Verify Cypress installation
run: |
echo "Cypress Path: $(which cypress)" # Verifica o caminho onde o Cypress está instalado
echo "Cypress version: $(cypress --version)" # Verifica a versão do Cypress
- name: Run tests
run: deno task test-terminal