From fcf0c05856738eab0167f4e8f58ff4279f1e07c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Evandro=20Leopoldino=20Gon=E2=88=9A=C3=9Falves?= Date: Mon, 30 Jan 2023 20:42:19 +0100 Subject: [PATCH] updates github action --- .github/workflows/main.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f289c71..344fb0b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,35 +8,27 @@ jobs: - name: Begin CI... uses: actions/checkout@v2 - - name: Use Node 14.15.0 + - name: Use Node v18.13.0 uses: actions/setup-node@v1 with: - node-version: 14.15.0 - - - name: Use cached node_modules - uses: actions/cache@v1 - with: - path: node_modules - key: nodeModules-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - nodeModules- + node-version: 18.13.0 - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm ci env: CI: true - name: Lint - run: yarn lint + run: npm run lint env: CI: true - name: Test - run: yarn test --ci --coverage --maxWorkers=2 + run: npm run test --ci --coverage --maxWorkers=2 env: CI: true - name: Build - run: yarn build + run: npm run build env: CI: true