-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from BRAVO68WEB/feat/raw-url
feat/raw url
- Loading branch information
Showing
50 changed files
with
3,908 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Setup Node Environment | ||
description: Prepare and install everything for nodejs repo | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/action-setup@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: pnpm | ||
node-version: 20 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: pnpm i | ||
|
||
- name: Restore Turborepo Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
apps/**/.turbo | ||
node_modules/.cache/turbo | ||
key: turbo-${{ runner.os }}-${{ github.job }}-${{ github.sha }} | ||
restore-keys: | | ||
turbo-${{ runner.os }}-${{ github.job }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
name: "Code Build Check" | ||
name: CI Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
push: | ||
branches: [main, dev] | ||
pull_request: | ||
branches: [main, dev] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-api: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Installing Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Building with Cargo | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --manifest-path backend/Cargo.toml | ||
use-cross: true | ||
|
||
build-app: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Installing Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20' | ||
- name: Installing dependencies | ||
run: | | ||
npm install --global yarn | ||
yarn | ||
working-directory: frontend | ||
- name: Building the app | ||
run: yarn build | ||
working-directory: frontend | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Environment | ||
uses: ./.github/actions/setup | ||
|
||
- name: Setup Golang | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '>=1.17.0' | ||
|
||
- name: Installing Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
# - name: Building with Cargo | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: build | ||
# args: --release --manifest-path Cargo.toml | ||
# use-cross: true | ||
|
||
- name: Build packages | ||
shell: bash | ||
run: pnpm build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
**/dist/ | ||
**/.parcel-cache/ | ||
**/config.json | ||
.turbo |
Oops, something went wrong.