Skip to content

Commit

Permalink
Merge branch 'noprint' into lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry committed Nov 14, 2024
2 parents 1a2dd4c + 6c8314c commit 3c8c2f9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.x']
node-version: ['22.11.0']

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions bump.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/usr/local/bin/bash
if [[ $2 == 'npm' ]]
then
IFS='.' read major minor <<< "$1"
version=$(( major + 1 )).$minor
gsed -i -E "s/\"version\": \".+\"/\"version\": \"$version\"/" package.json
npm i --package-lock-only
npm publish --tag ${3-latest}
git add -A
git commit -m "chore: publish v$version to npm"
else
npm run lint && npm run build && npm test && npm run test:real
if [[ $? -eq 0 ]]
then
IFS='.' read major minor <<< "$1"
version=$(( major + 1 )).$minor
gsed -i -E "s/\"version\": \".+\"/\"version\": \"$version\"/" package.json
npm i --package-lock-only
git add -A
git commit -m "chore: bump version to v$1-m"
git push
Expand Down
34 changes: 18 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wikilint",
"version": "2.13.2",
"version": "2.13.3",
"description": "A Node.js linter for MediaWiki markup",
"keywords": [
"mediawiki",
Expand Down

0 comments on commit 3c8c2f9

Please sign in to comment.