diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 11f4687..0c24686 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,7 @@ name: CI on: push: - branches: [ master ] + branches: [master] pull_request: # Allows you to run this workflow manually from the Actions tab @@ -14,8 +14,6 @@ jobs: - uses: actions/checkout@v2 # Set node version - uses: actions/setup-node@v2 - with: - node-version: '12.14.1' - name: Set NPM 7 run: npm install -g npm@7.6.3 # Cache node_modules @@ -23,7 +21,7 @@ jobs: env: cache-name: cache-node-modules with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} - name: Install node modules @@ -33,4 +31,4 @@ jobs: run: npm run lint -- --max-warnings 0 - name: Run tests - run: npm run test \ No newline at end of file + run: npm run test