Skip to content

Merge pull request #75 from nikolalsvk/add-github-actions #2

Merge pull request #75 from nikolalsvk/add-github-actions

Merge pull request #75 from nikolalsvk/add-github-actions #2

Workflow file for this run

# Write a GitHub Action for running tests with yarn
name: Test
on: [push]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn cover
- name: Code Climate Coverage Action
uses: paambaati/[email protected]
unit:

Check failure on line 21 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: cd examples
- run: yarn install --frozen-lockfile
- run: yarn test
- name: Code Climate Coverage Action
uses: paambaati/[email protected]