Skip to content

Prepare repository for use #4

Prepare repository for use

Prepare repository for use #4

Workflow file for this run

# This workflow will do a clean installation of node dependencies,
# cache/restore them, build the source code and run tests.
name: Build and Test CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '21.x'
cache: 'npm'
- run: npm install
- run: npm run compile
- run: npm run test