Skip to content

Merge pull request #52 from rodekruis/dependabot/npm_and_yarn/npm_and… #48

Merge pull request #52 from rodekruis/dependabot/npm_and_yarn/npm_and…

Merge pull request #52 from rodekruis/dependabot/npm_and_yarn/npm_and… #48

Workflow file for this run

name: "Continuous Integration for ADA-API"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --no-audit
- run: npm test
- run: npm run build
bump-version:
needs: [test-and-build]
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Wait for previous workflow to complete
uses: softprops/turnstyle@v1
with:
abort-after-seconds: 1800
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Bump version and push tag
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-message: "chore(release): {version}"
release-count: 10