Skip to content

(ci) fix tests

(ci) fix tests #122

Workflow file for this run

on:
push:
paths:
- '**/*.go'
- '**/*.mod'
- '**/*.sum'
- '**/*.yml'
name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
strategy:
matrix:
go-version: [mod]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: kevincobain2000/action-gobrew@v2
with:
version: ${{ matrix.go-version }}
# setup node
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: build node
working-directory: ./frontend
run: |
npm install
npm run build
- name: Build
run: go build main.go