Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
refactor(infra): Updates actions
Browse files Browse the repository at this point in the history
  • Loading branch information
eluciano11 committed Dec 4, 2023
1 parent 8fd6ba2 commit a803f74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
uses: actions/checkout@main

- name: Install
run: yarn install --frozen-lockfile
run: npm ci

- name: Build
run: yarn run build
run: npm run build

- name: Test
uses: cypress-io/github-action@v2
with:
browser: chrome
headless: true
start: yarn run serve
wait-on: 'http://localhost:8000'
start: npm start
wait-on: "http://localhost:5173"
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
uses: actions/checkout@main

- name: Install
run: yarn install --frozen-lockfile
run: npm ci

- name: Tests
run: yarn run test
run: npm test

lint:
runs-on: ubuntu-latest
Expand All @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@main

- name: Install
run: yarn install --frozen-lockfile
run: npm ci

- name: Lint
run: yarn run lint
run: npm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"build": "vite build",
"develop": "npm start",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down

0 comments on commit a803f74

Please sign in to comment.