Skip to content

Update techstack.yml #12

Update techstack.yml

Update techstack.yml #12

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- node-version: 12.x
- node-version: 14.x
- node-version: 16.x
steps:
- uses: actions/checkout@v2
- name: Install Node - ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install sendmail
run: sudo apt-get install -y sendmail
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn install
- name: Test On Node ${{ matrix.node-version }}
run: |
npm run test