build(deps): bump path-to-regexp and express in /testapp2 #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the test suite runs the tests (headless, server+client) for multiple Meteor releases | |
name: Test suite | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
name: Javascript standard lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-20- | |
- run: cd testapp3 && npm ci && npm run setup && npm run lint | |
test2: | |
name: Meteor package tests 2.16 | |
needs: [lint] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
meteorRelease: | |
- '2.16' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14 | |
- name: Setup meteor ${{ matrix.meteorRelease }} | |
uses: meteorengineer/setup-meteor@v1 | |
with: | |
meteor-release: ${{ matrix.meteorRelease }} | |
- name: cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-14-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-14- | |
- run: cd testapp2 && npm ci && npm run setup && npm run test | |
test3: | |
name: Meteor package tests 3.0.2 | |
needs: [lint] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
meteorRelease: | |
- '3.0.2' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup meteor ${{ matrix.meteorRelease }} | |
uses: meteorengineer/setup-meteor@v1 | |
with: | |
meteor-release: ${{ matrix.meteorRelease }} | |
- name: cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-20-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node-20- | |
- run: cd testapp3 && npm ci && npm run setup && npm run test |