Optimise CachePrimer
to skip chats where cache is already up to date
#9622
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
on: | |
pull_request: | |
merge_group: | |
branches: | |
- master | |
name: Frontend linting, type check & unit tests | |
jobs: | |
install-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "18.17.1" | |
- name: building frontend | |
run: npm run build:ci | |
env: | |
NODE_ENV: ci | |
USERGEEK_APIKEY: DUMMY_USERGEEK_APIKEY | |
ROLLBAR_ACCESS_TOKEN: DUMMY_ROLLBAR_ACCESS_TOKEN | |
OPENCHAT_WEBSITE_VERSION: $GITHUB_SHA | |
METERED_APIKEY: DUMMY_METERED_APIKEY |