Skip to content

Commit

Permalink
chore: add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishqmanuja committed Jan 9, 2024
1 parent 15d2478 commit c091d87
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches:
- main

jobs:
release:
permissions:
contents: write

runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Setup ENV
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_ENV
- name: Setup Node Stuff
uses: ./.github/actions/setup-node
with:
node: ${{ env.NODE_VERSION }}

- name: Setup Golang Stuff
uses: ./.github/actions/setup-golang
with:
golang: "1.21.5"

- name: Build
run: pnpm turbo build

0 comments on commit c091d87

Please sign in to comment.