Skip to content

Merge pull request #13 from klarna/release-please--branches--master--… #18

Merge pull request #13 from klarna/release-please--branches--master--…

Merge pull request #13 from klarna/release-please--branches--master--… #18

Workflow file for this run

name: Test
on:
push:
branches: [ '*' ]
jobs:
test:
name: Node.js
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 12.x, 14.x, 16.x, 18.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install modules
run: npm ci
- name: Build
run: npm run build --if-present
- name: Test
run: npm test