diff --git a/.github/workflows/npm-test.js.yml b/.github/workflows/npm-test.js.yml index 5a55fdd..30d1b73 100644 --- a/.github/workflows/npm-test.js.yml +++ b/.github/workflows/npm-test.js.yml @@ -3,19 +3,18 @@ name: Node.js CI -on: - [ push, pull_request ] +on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: 12.x - - run: npm install - - run: npm test + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: 12.x + cache: npm + - run: npm install + - run: npm test