Add new pin for Barcelona Acquarium #18
Workflow file for this run
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: 'CI/CD Pipeline' | |
on: | |
pull_request: | |
branches: [main, master] | |
types: [opened, synchronize] | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
run: npm ci | |
- name: Check code formating | |
run: npm run test:format | |
if: always() | |
- name: Lint the code | |
run: npm run test:lint | |
if: always() |