Skip to content

Merge pull request #64 from putdotio/feat/timeout-error #150

Merge pull request #64 from putdotio/feat/timeout-error

Merge pull request #64 from putdotio/feat/timeout-error #150

Workflow file for this run

name: Lint, test, and build the package
on: [push]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.16.0']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Build
run: yarn build