Skip to content

init versioning.yml

init versioning.yml #1

Workflow file for this run

# This workflow will do a clean installation of node dependencies and update the app version with the help of Semantic release
name: Semantic versioning
on:
push:
branches: [ "dev" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test