Skip to content

docs: update github workflow #4

docs: update github workflow

docs: update github workflow #4

Workflow file for this run

name: test
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
paths:
- '**.js'
- '**.ts'
- 'package.json'
pull_request:
types:
- opened
branches:
- main
paths:
- '**.js'
- '**.ts'
- 'package.json'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Build Test
run: npm run build && ls -lah dist/