diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b637a4c6..f38cafc3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,18 +14,23 @@ jobs: - uses: actions/checkout@v3 - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Build React run: | - apt-get install npm - npm install --global yarn - npm install -g n - n stable + cd net/web + npm install yarn + yarn install + yarn build - name: Setup Go uses: actions/setup-go@v3 with: go-version: 1.17.5 - - name: Build + - name: Build Go run: | cd net/server go build databag