Skip to content

Commit

Permalink
ci: store and cache build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Nov 13, 2023
1 parent 788a556 commit c6cd1c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,14 @@ jobs:
key: ${{ runner.os }}-microbit-${{ hashFiles('package-lock.json') }}
- name: Run Build
run: npm run build
- name: Cache Build Directory
uses: actions/cache@v3
with:
path:
static/microbit
key: ${{ runner.os }}-build-${{ hashFiles('package-lock.json') }}
- name: Store Build Results
uses: actions/upload-artifact@v3
with:
name: build-output
path: ./build

0 comments on commit c6cd1c6

Please sign in to comment.