Merge remote-tracking branch 'upstream/master' into ci-publish-firefox #11
Workflow file for this run
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
name: Verify | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-chrome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install npm modules | |
run: npm ci | |
- name: Build | |
run: npm run build-chrome | |
build-edge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install npm modules | |
run: npm ci | |
- name: Build | |
run: npm run build-edge | |
build-firefox: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install npm modules | |
run: npm ci | |
- name: Build | |
run: npm run build-firefox | |
- name: Lint | |
run: npm run lint-firefox | |
build-safari: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install npm modules | |
run: npm ci | |
- name: Build | |
run: npm run build-safari | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install npm modules | |
run: npm ci | |
- name: ESLint | |
run: npm run eslint | |
- name: Prettier | |
run: npm run prettier |