diff options
Diffstat (limited to '.github/workflows/go-release.yml')
-rw-r--r-- | .github/workflows/go-release.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index bbf1b1c..f7a2ee5 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -13,6 +13,28 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v4 + - name: Checkout Frontend + uses: actions/checkout@v4 + with: + repository: 'donetick/frontend' + token: ${{ secrets.GITHUB_TOKEN }} + path: 'frontend-code' + # build frontend + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + - name: Install Dependencies + run: | + cd frontend-code + npm install + - name: Build Frontend + run: | + cd frontend-code + npm run build + - name: Copy Frontend + run: | + cp -r frontend-code/dist frontend/dist - name: Set up Go uses: actions/setup-go@v5 |