Skip to content

Example Test Flow

Example Test Flow #1

Workflow file for this run

name: Test
run-name: Example Test Flow
on: [push]
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 19
cache: npm
- name: Install
run: npm ci
- name: Build
run: npm build:ci
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: build
path: ./dist/
- name: Test
run: npm test
- name: Audit
run: npm audit