intraxia/wp-gistpen

View on GitHub
.github/workflows/node.js.yml

Summary

Maintainability
Test Coverage
name: Node.js

on:
  push:
    branches: [ next ]
  pull_request:
    branches: [ next ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js 12
      uses: actions/setup-node@v2
      with:
        node-version: 12
        cache: 'npm'
    - run: npm ci
    - run: npm run build
    - run: npm test