[SG-2021] -- Current state of google search replacement for sfgov. #649
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: checks | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm install | |
- name: lint JavaScript | |
run: npm run lint-js | |
- name: Dangerfile | |
run: npx danger ci | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- if: false | |
uses: preactjs/compressed-size-action@v2 | |
with: | |
pattern: '**/dist/**/*.{js,css}' | |
exclude: '**/node_modules/**' | |
build-script: 'build -ws --if-present' | |
clean-script: 'clean -ws --if-present' |