Commit a388b3fa authored by Oscar Dominguez's avatar Oscar Dominguez
Browse files

ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows

parent ad01d131
Loading
Loading
Loading
Loading
−x+3 −2
Changes for .github/workflows/build.yml: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,10 +6,10 @@ on:
      - main
      - releases/*
    paths-ignore:
      - '**.md'
      - "**.md"
  pull_request:
    paths-ignore:
      - '**.md'
      - "**.md"

jobs:
  build:
@@ -24,6 +24,7 @@ jobs:
        uses: actions/setup-node@v2
        with:
          node-version: 12.x
          cache: npm
      - run: npm ci
      - run: npm run build
      - run: npm run format-check