Skip to content

MAF 3.0

MAF 3.0 #4

name: Test Preprocessor Package
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'packages/preprocessor/**'
pull_request:
paths:
- 'packages/preprocessor/**'
jobs:
MAF-Preprocessor:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/previous-releases
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test -w packages/preprocessor
env:
ENVIRONMENT: CI
- name: Status Create Action
if: ${{ always() }}
uses: hkusu/[email protected]
id: status-create
with:
state: ${{ job.status }}
sha: ${{ github.sha }}
- name: Show result
if: always()
run: echo '${{ steps.status-create.outputs.result }}'