Skip to content

Merge pull request #42 from arevalolance/renovate/actions-checkout-3.x #70

Merge pull request #42 from arevalolance/renovate/actions-checkout-3.x

Merge pull request #42 from arevalolance/renovate/actions-checkout-3.x #70

Workflow file for this run

name: Build and Test
on:
push:
branches: [shrek]
pull_request:
branches: [shrek]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install project
run: npm install
- name: Build the project
run: npm run build --if-present
- name: Run tests
run: npm test