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