Skip to content
This repository was archived by the owner on Apr 21, 2024. It is now read-only.

Merge pull request #20 from Coder-Spirit/castarco-patch-1 #40

Merge pull request #20 from Coder-Spirit/castarco-patch-1

Merge pull request #20 from Coder-Spirit/castarco-patch-1 #40

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
defaults:
run:
working-directory: ./lambda-ioc
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, '16.4.0', 17.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: if [ "$(node --version)" \< "v17" ]; then npm install -g yarn; fi
- run: yarn install
- run: yarn test
- run: yarn lint