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