From 3a8e70b06b24a2da0a49daaa2d26434258f16ca1 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 23 Jul 2024 00:48:29 +0330 Subject: [PATCH] change main-pipeline --- .github/workflows/main-pipeline.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-pipeline.yml b/.github/workflows/main-pipeline.yml index 5d3e7bb..bc4a156 100644 --- a/.github/workflows/main-pipeline.yml +++ b/.github/workflows/main-pipeline.yml @@ -43,15 +43,15 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: 18.14.0 + node-version: 20.14.0 - name: Install dependencies - run: npm ci + run: yarn install - name: Run linter - run: npm run lint + run: yarn lint - name: Run migrations - run: npm run db:migrate:run:test + run: yarn db:migrate:run:test - name: Run tests - run: npm run test + run: yarn test publish: needs: test @@ -60,6 +60,10 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v2 + - name: Install Yarn + run: npm install -g yarn + - name: Install dependencies + run: yarn install - name: Build image and push to GitHub Packages uses: docker/build-push-action@v1 with: