Skip to content

Issue 0 cron job (#265) #531

Issue 0 cron job (#265)

Issue 0 cron job (#265) #531

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
- name: Get package version
id: package-version
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
- name: Run mock install script
run: |
chmod +x ./scripts/mock_install.sh
./scripts/mock_install.sh ${{ steps.package-version.outputs.version }}