Skip to content

Merge pull request #2 from klarna-incubator/actions #3

Merge pull request #2 from klarna-incubator/actions

Merge pull request #2 from klarna-incubator/actions #3

Workflow file for this run

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