Skip to content

SFD-136 Set up workflow to publish npm package #121

SFD-136 Set up workflow to publish npm package

SFD-136 Set up workflow to publish npm package #121

Workflow file for this run

name: PR Workflow
on:
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up environment
uses: ./.github/actions/set-up-environment
- name: Build app
run: npm run build
unit_tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up environment
uses: ./.github/actions/set-up-environment
- name: Run tests
run: npm test
playwright_tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up environment
uses: ./.github/actions/set-up-environment
- name: Run Playwright
uses: ./.github/actions/run-playwright