Skip to content

Merge pull request #40 from rodekruis/build.npm-update #24

Merge pull request #40 from rodekruis/build.npm-update

Merge pull request #40 from rodekruis/build.npm-update #24

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: [16.x]
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
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