Skip to content

Merge pull request #7 from klarna-incubator/fix-publish-action-3 #19

Merge pull request #7 from klarna-incubator/fix-publish-action-3

Merge pull request #7 from klarna-incubator/fix-publish-action-3 #19

Workflow file for this run

name: main
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20', '22']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run tests
run: yarn test
- name: Build
run: yarn build