Skip to content

Commit

Permalink
chore(packageManager): using pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Sep 29, 2023
1 parent 20b6fb0 commit cef5e9e
Show file tree
Hide file tree
Showing 8 changed files with 4,013 additions and 11,720 deletions.
2 changes: 1 addition & 1 deletion .githooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

npx --no-install nice-move lint commit
pnpm exec nice-move lint commit
4 changes: 2 additions & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

npm run lint:staged
npm test
pnpm run lint:staged
pnpm test
9 changes: 6 additions & 3 deletions .github/workflows/bring-it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
- windows-latest
- ubuntu-latest
node:
- 18.12.0
- 16.15.0
- current
- lts/*
- lts/-1
exclude:
- os: ubuntu-latest
node: 16.15.0
node: lts/*

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -30,6 +31,8 @@ jobs:
publish:
needs: [test]
runs-on: ubuntu-latest
env:
node-version: lts/*
steps:
- name: Run
uses: airkro/bring-it@actions
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts = true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ npm install prettier-plugin-groovy --save-dev
prettier --write jenkinsfile
```

# Tips

This plugin bundle [groovy-beautify](https://github.com/joycollector/groovy-beautify) to do the format.

## Related

- [@nice-move/prettier-config](https://github.com/nice-move/nice-move/tree/master/packages/prettier-config)
Expand Down
Loading

0 comments on commit cef5e9e

Please sign in to comment.