Gtif albedo #2009
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: Lint and Test | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Checkout code | |
- uses: actions/checkout@v3 | |
# Install node | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'npm' | |
cache-dependency-path: app/package-lock.json | |
# Install dependencies | |
- name: Install dependencies | |
run: | | |
cd app/ | |
npm ci --ignore-scripts | |
# Run linter | |
- name: Run linter | |
run: | | |
cd app/ | |
npm run lint | |
# TODO: Run tests... |