Skip to content

Commit

Permalink
build: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 29, 2023
1 parent 5688f5b commit a06b96f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit a06b96f

Please sign in to comment.