Skip to content

Merge branch 'refs/heads/main' into develop #430

Merge branch 'refs/heads/main' into develop

Merge branch 'refs/heads/main' into develop #430

Workflow file for this run

name: Run tests
on:
push:
branches: [ develop ]
pull_request:
types: [ opened, synchronize, reopened ]
paths:
- 'src/**'
- 'tests/**'
- '.github/**'
- 'package.json' # In case the dependencies change
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x, 20.x, 21.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install --immutable
- name: Run tests
run: npm run test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: JensAstrup/shortcut