2024-04-28 17:34:42 +01:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- feature/*
|
|
|
|
- hotfix/*
|
|
|
|
- renovate/*
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
environment: stage
|
|
|
|
|
|
|
|
runs-on: node
|
|
|
|
|
|
|
|
steps:
|
2024-04-29 00:02:25 +01:00
|
|
|
- uses: actions/checkout@v4
|
2024-04-28 17:34:42 +01:00
|
|
|
- name: Use Node.js
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 18.x
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm test
|