Use EC2 Instance Connect to access the server #201
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: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['16'] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Node ${{ matrix.node-version }}.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Check if package-lock.json is up to date | |
run: npx --yes [email protected] | |
- name: Install app dependencies | |
run: npm ci | |
- name: Lint frontend code with ESLint | |
run: npm run lint |