Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Commit

Permalink
Add GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yylyyl committed Sep 21, 2023
1 parent 9560777 commit e1fa05f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: ["main"]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build project
run: |
export REACT_APP_CONTAINERUP_BUILD=$(date -u +%Y%m%d%H%M%S)
export REACT_APP_CONTAINERUP_COMMIT=${GITHUB_SHA::7}
npm build

0 comments on commit e1fa05f

Please sign in to comment.