Skip to content

feat: update serverless config #43

feat: update serverless config

feat: update serverless config #43

Workflow file for this run

name: main
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build-unix:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
node-version: [22.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci --ignore-scripts
- name: Test
run: npm test
- name: Codecov
uses: codecov/codecov-action@v4
- name: Send coverage report with Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
coverageLocations: ${{ github.workspace }}/coverage/lcov.info:lcov