Iota stardust #1260
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: 15 | |
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@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: cd ../../ && npm run build:functions | |
- name: Lint | |
run: npm run lint | |
- name: Prettier | |
run: npx prettier --check . |