Merge pull request #451 from r-k-b/dependabot/github_actions/dot-gith… #808
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
make: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node: [ '18', '16', '14' ] | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
name: cache elm | |
with: | |
path: ~/.elm | |
key: ${{ runner.os }}-elm-${{ hashFiles('**/elm.json') }} | |
restore-keys: | | |
${{ runner.os }}-elm- | |
- uses: actions/cache@v4 | |
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@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npm test | |
- name: Review | |
run: npm run review |