Skip to content

Fixed tests

Fixed tests #4

Workflow file for this run

name: CI (nodejs and golang)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-parcer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.2'
- name: Build
working-directory: ./parser
run: GOOS=js GOARCH=wasm go build -v .
- name: Test
working-directory: ./parser
run: go test -v ./core/...
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
- run: yarn install --immutable
- run: yarn lint
- run: yarn build:production
- run: yarn test