Feat: Allow Direct Access to Public Content #12
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: Source CI | |
on: | |
workflow_dispatch: # for manual runs | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
paths: | |
- 'source/**' | |
jobs: | |
build-and-test: | |
name: Run Lint and Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./source | |
- name: Run Prettier | |
run: npm run lint | |
working-directory: ./source | |
- name: Run Tests | |
run: npm run tests | |
working-directory: ./source |