Added support to wait for instance not busy #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR automations | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-code: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ec2-github-runner-${{ hashFiles('**/package-lock.json') }} | |
- name: Install packages | |
run: npm install | |
- name: Run linter | |
run: npm run lint |