This repository has been archived by the owner on May 21, 2024. It is now read-only.
docs: add sunsetting message to README.md #111
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: CI | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
branches-ignore: | |
- main | |
jobs: | |
test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: "Set up node" | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 17.x | |
- uses: actions/cache@v1 | |
id: npm-cache | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json')}} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies from cache | |
run: | | |
rm -rf node_modules && yarn install --prefer-offline --frozen-lockfile | |
- name: Install dependencies from repository | |
run: | | |
rm -rf node_modules && yarn install --frozen-lockfile | |
- name: "Run tests" | |
run: | | |
yarn run build --if-present | |
yarn test |