Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Merge pull request #951 from CaoMeiYouRen/dependabot/npm_and_yarn/vit… #2760

Merge pull request #951 from CaoMeiYouRen/dependabot/npm_and_yarn/vit…

Merge pull request #951 from CaoMeiYouRen/dependabot/npm_and_yarn/vit… #2760

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js@lts environment
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/.npm
~/cache
!~/cache/exclude
**/node_modules
key: npm-${{ runner.os }}-${{ hashFiles('package.json') }}
- run: yarn
- run: npm run lint
- run: npm run build