Skip to content

add a fancy jest config for typescript #3

add a fancy jest config for typescript

add a fancy jest config for typescript #3

Workflow file for this run

name: build
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ["ubuntu-latest"]
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v4"
with:
submodules: recursive
- name: Install nodejs 🔧
uses: actions/setup-node@v3
with:
node-version: 22.9.0
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Publish to npmjs
uses: JS-DevTools/npm-publish@v1
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.NPM_TOKEN }}
package: package.json
# don't try and deploy if versions haven't changed
check-version: true