Files
ota-admin-portal/.github/workflows/test.yml
Rafi Greenberg a5902f06b3 Docker-caching-and-better-slack-notifications (#102)
* 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)
2021-11-05 09:09:04 -07:00

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