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)
This commit is contained in:
Rafi Greenberg
2021-11-05 09:09:04 -07:00
committed by GitHub
parent 16c3e2902b
commit a5902f06b3
4 changed files with 95 additions and 57 deletions

View File

@@ -4,21 +4,17 @@ on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
- 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