This repository was archived by the owner on Sep 20, 2024. It is now read-only.
archive #350
This file contains hidden or 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: Captain's CI | |
on: [push] | |
jobs: | |
build: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache | |
uses: actions/[email protected] | |
with: | |
# A directory to store and save the cache | |
path: .cache/ | |
# An explicit key for restoring and saving the cache | |
key: cl | |
- uses: actions/checkout@v2 | |
- name: Use Node.js '16.x' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn test | |
env: | |
CI: true |