diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 274f7e9..3169f0e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -4,10 +4,10 @@ on: branches: - main paths-ignore: - - '**.md' + - "**.md" pull_request: paths-ignore: - - '**.md' + - "**.md" jobs: run: name: Run @@ -16,23 +16,24 @@ jobs: matrix: operating-system: [ubuntu-latest, windows-latest] steps: - - name: Checkout - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 - - name: Setup node 12 - uses: actions/setup-node@v1 - with: - node-version: 12 + - name: Setup node 12 + uses: actions/setup-node@v2 + with: + node-version: 12 + cache: npm - - name: npm install - run: npm install + - name: npm install + run: npm install - - name: Lint - run: npm run format-check + - name: Lint + run: npm run format-check - - name: npm test - run: npm test + - name: npm test + run: npm test - - name: audit packages - run: npm audit --audit-level=high - if: matrix.operating-system == 'ubuntu-latest' \ No newline at end of file + - name: audit packages + run: npm audit --audit-level=high + if: matrix.operating-system == 'ubuntu-latest'