Add tests for function cold and warm start durations #52
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: UI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
paths: | |
- 'server/ui/**' | |
- '.github/workflows/tests_ui.yaml' | |
jobs: | |
lint: | |
name: Lint Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Npm Install | |
run: cd server/ui && npm ci | |
- name: UI Lint Check | |
run: cd server/ui && npm run lint |