diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index f2fa381..8aa05a7 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -18,7 +18,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: true - name: Test run: npm test diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a4b212..bab4144 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,8 +43,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: true - name: Test run: npm test @@ -60,8 +63,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock --ignore-scripts + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: true --ignore-scripts - name: Release env: CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b71aa20..8532216 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,7 +29,7 @@ jobs: - name: Test run: npm test - name: Report - run: mkdir -p coverage && npx c8 report --reporter=text-lcov > coverage/lcov.info + run: npx c8 report --reporter=text-lcov > coverage/lcov.info - name: Coverage uses: coverallsapp/github-action@main with: diff --git a/package.json b/package.json index 0812c8e..eaf92c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "splashy", "description": "Given an image, extract predominant & palette colors", - "homepage": "https://nicedoc.io/microlinkhq/splashy", + "homepage": "https://github.com/microlinkhq/splashy", "version": "5.1.30", "main": "src/index.js", "author": {