Switch to Object.hasOwn for cleaner code. #91
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 | |
on: | |
push: | |
branches: [main, v2.x] | |
pull_request: | |
branches: [main, v2.x] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup Chrome | |
uses: browser-actions/setup-chrome@v1 | |
- name: Check dependencies | |
run: npm ci --dry-run | |
- name: Install dependencies | |
run: npm ci | |
- name: Run build only | |
run: npm run build:ci |