Skip to content

feat: use circlefin/github-actions-cache@v1 #38

feat: use circlefin/github-actions-cache@v1

feat: use circlefin/github-actions-cache@v1 #38

Workflow file for this run

name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint_and_test:
name: "Lint & Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: circlefin/github-actions-cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm run setup
- run: npm run lint
- run: npm run type-check
- run: npm run test