Skip to content

Merge pull request #582 from pycontw/feat/2024_staff_reviewers #1756

Merge pull request #582 from pycontw/feat/2024_staff_reviewers

Merge pull request #582 from pycontw/feat/2024_staff_reviewers #1756

Workflow file for this run

name: ci
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 14.21.3 ]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Cache node_modules πŸ“¦
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm ci
- name: Run linter πŸ‘€
run: npm run lint
- name: Run tests πŸ§ͺ
run: npm run test