Skip to content

Merge pull request #10 from emailable/dependabot/npm_and_yarn/follow-… #10

Merge pull request #10 from emailable/dependabot/npm_and_yarn/follow-…

Merge pull request #10 from emailable/dependabot/npm_and_yarn/follow-… #10

Workflow file for this run

name: CI
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Test the app
uses: borales/actions-yarn@v4
with:
cmd: test # will run `yarn test` command