Skip to content

Merge pull request #80 from teknologi-umum/chore/bump-node-20 #129

Merge pull request #80 from teknologi-umum/chore/bump-node-20

Merge pull request #80 from teknologi-umum/chore/bump-node-20 #129

Workflow file for this run

name: CI
on:
push:
branches: ['*']
pull_request:
branches: ['*']
jobs:
ci:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 18, 20 ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Installing dependencies
run: npm install
- name: ESLint check
run: npx eslint --ignore-path .gitignore .
- name: Test & coverage
run: npm run test
- name: Build with Rollup
run: npm run build
- name: Send coverage report to Codecov
uses: codecov/codecov-action@v3