Expanded comment about parseSearchString not being needed in future. #1413
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: CI | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Print environment | |
run: | | |
node --version | |
npm --version | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Code Style | |
run: npm run cs-check | |
- name: Lint | |
run: npm run lint | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Print environment | |
run: | | |
node --version | |
npm --version | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run test:ci | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Print environment | |
run: | | |
node --version | |
npm --version | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Build | |
run: | | |
npm run build | |
review-dependabot-pr: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Enable Dependabot automation | |
uses: mozilla/syseng-pod/actions/dependabot-automerge@main |