Skip to content

Credits

Credits #19

Workflow file for this run

name: Global build & lint & test
on:
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm run test
env:
CI: true