Skip to content

Commit

Permalink
move build & version_check steps to github runners (#31)
Browse files Browse the repository at this point in the history
* move build & version_check steps to github runners

* `CHANGELOG.md` updated

* Update CHANGELOG.md
  • Loading branch information
AHReccese authored Sep 21, 2024
1 parent 0db4203 commit 8a9e738
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [dev]

jobs:
build:
runs-on: self-hosted
version_check:
runs-on: ubuntu-latest
steps:
- name: Download Code
uses: actions/checkout@v3
Expand All @@ -19,11 +19,32 @@ jobs:
- name: Version Check
run: |
python otherfiles/version_check.py
- name: Install Node 16.15.1
build:
runs-on: ubuntu-latest
needs: version_check
steps:
- uses: actions/checkout@v3
- name: Install Node.js 16.15.1
uses: actions/setup-node@v3
with:
node-version: 16.15.1
- name: Install Dependencies & Build
run: |
yarn install
- run: |
yarn install
yarn build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: craco_build_output
path: build/**
deploy:
runs-on: self-hosted
needs: build
steps:
- uses: actions/checkout@v3
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: craco_build_output
path: build
- run: |
yarn install
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
### Changed
- Move `build` & `version_check` steps to `github runners`
## [0.2] - 2024-09-16
### Added
- MyButton Logo
Expand Down

0 comments on commit 8a9e738

Please sign in to comment.