Skip to content

Merge pull request #255 from corsmirror/dependabot/npm_and_yarn/marke… #890

Merge pull request #255 from corsmirror/dependabot/npm_and_yarn/marke…

Merge pull request #255 from corsmirror/dependabot/npm_and_yarn/marke… #890

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json', './package-lock.json') }}
id: cache
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install --prefer-offline
- name: Lint files
run: npm run lint
- name: Run tests
run: npm test