feat!: version bump #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js Version Bump On Major Changes | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'lib/**' | |
- 'src/**' | |
- 'common/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# We need to use PAT alongside this | |
# see: https://github.com/orgs/community/discussions/26220 | |
persist-credentials: false | |
- name: Configure Git | |
run: | | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
git config user.name "${{ github.actor }}" | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.19.0' | |
- name: Install dependencies | |
run: npm ci | |
- name: Increment version | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} | |
run: npm run inc.ver |