Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Bump yaml from 2.2.1 to 2.3.0 #3418

Bump yaml from 2.2.1 to 2.3.0

Bump yaml from 2.2.1 to 2.3.0 #3418

Workflow file for this run

name: PR
on: pull_request
jobs:
test:
strategy:
matrix:
include:
- name: Linux
runs-on: ubuntu-latest
- name: macOS
runs-on: macos-latest
name: Test (${{ matrix.name }})
runs-on: ${{ matrix.runs-on }}
steps:
- name: Clone collector
uses: actions/checkout@v3
- name: Clone browser-compat-data
uses: actions/checkout@v3
with:
repository: mdn/browser-compat-data
path: browser-compat-data
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
- name: Prepare browser-compat-data
run: npm ci
working-directory: browser-compat-data
- run: npm ci
- run: npm run format
- run: npm run build
- run: npm run unittest
# ensure we can start the server without dev dependencies
- name: production smoke test
run: |
npm ci --production
cp secrets.sample.json secrets.json
npm start &
npx wait-on -t 10000 -v http://localhost:8080
env:
NODE_ENV: production
env:
FORCE_COLOR: 3
BCD_DIR: ./browser-compat-data