chore(deps): bump the eslint group with 4 updates #1261
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: 'build-test' | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- master | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm lint | |
- run: pnpm build | |
- run: pnpm package | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: ./dist/ | |
test: | |
needs: [build] | |
strategy: | |
matrix: | |
os: [ubuntu, macos, windows] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: dist | |
- name: Install with no params | |
uses: ./ | |
- if: runner.os == 'Linux' | |
run: chrome --version | |
- if: runner.os == 'macOS' | |
run: chromium --version | |
- if: runner.os == 'Windows' | |
run: (Get-Item (Get-Command chrome).Source).VersionInfo.ProductVersion | |
# Unable to run with command-line option on windows | |
- name: Install with version '827102' | |
uses: ./ | |
with: | |
chrome-version: 827102 | |
- if: runner.os == 'Linux' | |
run: chrome --version | |
- if: runner.os == 'macOS' | |
run: chromium --version | |
- if: runner.os == 'Windows' | |
run: (Get-Item (Get-Command chrome).Source).VersionInfo.ProductVersion | |
# Unable to run with command-line option on windows | |
- name: install with version 'dev' | |
uses: ./ | |
with: | |
chrome-version: dev | |
- if: runner.os == 'Linux' | |
run: chrome --version | |
- if: runner.os == 'macOS' | |
run: chrome --version | |
- if: runner.os == 'Windows' | |
run: (Get-Item (Get-Command chrome).Source).VersionInfo.ProductVersion | |
# Unable to run with command-line option on windows |