Skip to content

Update config to include headless only when running CI #45

Update config to include headless only when running CI

Update config to include headless only when running CI #45

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: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'npm'
- run: npm ci
- run: npm run semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}