Skip to content

Merge pull request #398 from r-k-b/dependabot/github_actions/dot-gith… #704

Merge pull request #398 from r-k-b/dependabot/github_actions/dot-gith…

Merge pull request #398 from r-k-b/dependabot/github_actions/dot-gith… #704

Workflow file for this run

on: push
jobs:
make:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [ '18', '16', '14' ]
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
name: cache elm
with:
path: ~/.elm
key: ${{ runner.os }}-elm-${{ hashFiles('**/elm.json') }}
restore-keys: |
${{ runner.os }}-elm-
- uses: actions/cache@v3
name: cache npm
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- name: Review
run: npm run review