From e3ca5eeab390cffdfb8287529c081706cad7261e Mon Sep 17 00:00:00 2001 From: thednp Date: Wed, 29 Nov 2023 21:39:44 +0200 Subject: [PATCH] update workflow --- .github/workflows/ci.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b93d70..f63d30f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,21 +3,25 @@ on: push jobs: test: runs-on: ubuntu-20.04 - name: Test on Node v16 + name: Test on Node v18 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2 + + - uses: pnpm/action-setup@v2.2.2 + - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 + cache: pnpm # - uses: bahmutov/npm-install@v1 - - run: npm install - - run: npm run build - - run: npm run test + - run: pnpm install + - run: pnpm build + - run: pnpm run test - - name: Upload coverage report on Node v16 to coveralls.io... + - name: Upload coverage report on Node v18 to coveralls.io... uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }}