Skip to content

Update readme.md

Update readme.md #21

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: BuildTest
on:
workflow_dispatch:
push:
branches:
- main
jobs:
test:
strategy:
matrix:
node: [14.x, 16.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}
- run: npm ci
- run: npm run build
- run: npm test