Skip to content

fix: express5 error (#26) #27

fix: express5 error (#26)

fix: express5 error (#26) #27

Workflow file for this run

name: Version
on:
push:
branches: [main]
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run test
version:
needs: [test]
name: Bump version
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- id: version
name: Bump version
uses: phips28/gh-action-bump-version@master
with:
skip-commit: true
- name: Update
run: |
echo "`jq '.version="${{ steps.version.outputs.newTag }}"' package.json`" > package.json
echo "`jq '.version="${{ steps.version.outputs.newTag }}"' jsr.json`" > jsr.json
- name: Commit
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add package.json jsr.json && git commit -m "ci: version bump to ${{ steps.version.outputs.newTag }}"
git push