Skip to content

chore: convert reusable workflows to composite actions (#114) #347

chore: convert reusable workflows to composite actions (#114)

chore: convert reusable workflows to composite actions (#114) #347

Workflow file for this run

# This isn't a reusable workflow but a CI action for this repo itself - testing the contained workflows & scripts.
name: Script Tests
permissions:
contents: read
on:
push:
jobs:
updater:
name: Updater @ ${{ matrix.host }}
runs-on: ${{ matrix.host }}-latest
strategy:
fail-fast: false
matrix:
host:
- ubuntu
- macos
- windows
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- run: Invoke-Pester
working-directory: updater
shell: pwsh
danger:
name: Danger JS Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: danger
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: node --test
- name: Check syntax
run: node -c dangerfile.js