From a803f743781cd4f4967962363fb74f2bfcead494 Mon Sep 17 00:00:00 2001 From: Emmanuel Luciano Date: Sun, 3 Dec 2023 23:31:21 -0400 Subject: [PATCH] refactor(infra): Updates actions --- .github/workflows/cypress.yml | 8 ++++---- .github/workflows/tests.yml | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 039766e..7138b73 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -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' \ No newline at end of file + start: npm start + wait-on: "http://localhost:5173" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7bef498..e4dd002 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 diff --git a/package.json b/package.json index dfe8e5f..3493234 100644 --- a/package.json +++ b/package.json @@ -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",