From 44c4f50ef484596bef3678b39cbdb43c6f76c083 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Thu, 12 Oct 2023 19:49:43 +0100 Subject: [PATCH] ci: :zap: switch to pnpm --- .github/workflows/coveralls.yml | 42 +++++++++++---------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index e9e3e95..5b3ded1 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -9,43 +9,29 @@ on: - "*" jobs: - job: + build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x] steps: - - name: Checkout Repo - uses: actions/checkout@v2 - with: - persist-credentials: false - - - name: Setup Node.js 14.x + - run: echo ${{github.ref}} + - uses: actions/checkout@v2 + - name: Build on Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: - node-version: 14.x - - - name: Install yarn dependencies - # run: yarn --frozen-lockfile --ignore-scripts - run: | - yarn run bootstrap - - - name: Run lint fix - run: | - yarn lint:fix - - - name: Run prettier - run: | - yarn format - - - name: Run remark - run: | - yarn markdown + node-version: ${{ matrix.node-version }} - - name: Building + - name: npm install, build, and test run: | - yarn run build + npm install -g pnpm + pnpm install + pnpm run build + pnpm run test - name: Testing & Coverage run: | - yarn run test + npm run test - name: Coveralls Crypto-Cli uses: coverallsapp/github-action@master