This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
Prompt editor #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: go build and test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Run install | |
uses: Borales/[email protected] | |
with: | |
cmd: install # will run `yarn install` command | |
- name: Build production bundle | |
uses: Borales/[email protected] | |
with: | |
cmd: build |