diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 388e8e65..68c2c9cb 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,14 +10,17 @@ defaults: jobs: lint: - container: - image: node:9 - credentials: - username: ${{ secrets.DOCKER_HUB_USERNAME }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: lint + - name: Check out code + uses: actions/checkout@v3 + with: + node-version: 16 + cache: 'npm' + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' run: | npm install && npm run build && npm run lint