From 6a06a697d079c92e73fbc71deaec1ca0c2357753 Mon Sep 17 00:00:00 2001 From: Charles Nykamp Date: Wed, 14 Aug 2024 14:18:13 -0500 Subject: [PATCH] Npm clean install --- .github/workflows/client.yml | 14 +++++++------- .github/workflows/server.yml | 16 ++++++++-------- client/.prettierignore | 1 + 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index ba580de33..965934cf4 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -12,8 +12,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./client - name: Build run: npm run build @@ -26,8 +26,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./client - name: Lint run: npx eslint @@ -40,9 +40,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./client - name: Prettier run: npx prettier . --check - working-directory: ./client \ No newline at end of file + working-directory: ./client diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 6eb7b375d..d73ef4133 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -12,8 +12,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./server - name: Build run: npm run build @@ -26,8 +26,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./server - name: Lint run: npx eslint @@ -40,8 +40,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./server - name: Prettier run: npx prettier . --check @@ -63,8 +63,8 @@ jobs: run: | sudo /etc/init.d/mysql start mysql -e "CREATE DATABASE IF NOT EXISTS db;" -uroot -proot - - name: Npm install - run: npm install + - name: Npm clean install + run: npm ci working-directory: ./server - name: Apply migrations run: npx prisma migrate dev diff --git a/client/.prettierignore b/client/.prettierignore index b35aa7ed8..70c41f840 100644 --- a/client/.prettierignore +++ b/client/.prettierignore @@ -1,2 +1,3 @@ dist/ dist_local/ +multi-reporter-config.json \ No newline at end of file