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: