* test docker caching and slack * try this * this _might_ do it * cleanup * just realized this is running on self-hosted, so github cache doesn't make sense * fix logging noise * cache npm modules during test * fiskerBot and icon * quotes (just in case)
21 lines
400 B
YAML
21 lines
400 B
YAML
name: Node.js CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "14"
|
|
cache: "npm"
|
|
- run: npm install
|
|
- run: npm run build --if-present
|
|
- run: npm test
|
|
env:
|
|
CI: true
|