Market buy sell #1492
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: Functions | Lint | |
on: | |
pull_request: | |
paths: | |
- packages/functions/** | |
jobs: | |
lint-and-prettier: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
defaults: | |
run: | |
working-directory: packages/functions | |
steps: | |
# - name: Collect Workflow Telemetry | |
# uses: runforesight/foresight-workflow-kit-action@v1 | |
# if: ${{ always() }} | |
# with: | |
# api_key: ${{ secrets.FORESIGHT_KEY }} | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Dependencies | |
run: cd ../../ && npm run build:functions | |
- name: Lint | |
run: npm run lint | |
- name: Prettier | |
run: npx prettier --check . |