Skip to content

Allow restoring node_modules from an incomplete cache #31

Allow restoring node_modules from an incomplete cache

Allow restoring node_modules from an incomplete cache #31

Workflow file for this run

name: ci:test
on:
push:
branches:
- main
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Continuous integration (test)
strategy:
matrix:
platform:
- ubuntu-latest
meteor-version:
- local
- latest
- '2.14'
- '2.15'
- '2.16'
test:
- test/example-projects/meteor-2.13.3
runs-on: ${{ matrix.platform }}
timeout-minutes: 3
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install 💾
uses: ./
with:
working-directory: ${{ matrix.test }}
executable-version: ${{ matrix.meteor-version }}
- name: Test (preinstall) 🧪
run: |
test -f "${RUNNER_TEMP}/preinstall"
- name: Test (install) 🧪
run: |
test -f "${RUNNER_TEMP}/install"
- name: Test (postinstall) 🧪
run: |
test -f "${RUNNER_TEMP}/postinstall"
- name: Test (prepublish) 🧪
run: |
test -f "${RUNNER_TEMP}/prepublish"
- name: Test (preprepare) 🧪
run: |
! test -f "${RUNNER_TEMP}/preprepare"
- name: Test (prepare) 🧪
run: |
test -f "${RUNNER_TEMP}/prepare"
- name: Test (postprepare) 🧪
run: |
! test -f "${RUNNER_TEMP}/postprepare"
- name: Test (start) 🧪
working-directory: ${{ matrix.test }}
run: |
meteor npm start | grep '^done$'