Skip to content

Commit

Permalink
minimize css file and add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
markbeep committed Feb 4, 2025
1 parent 0bfeb48 commit 9377008
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 572 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('frontend/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
Expand All @@ -43,6 +59,7 @@ jobs:
run: wails build

- name: Upload artifact
if: github.event_name == 'push' || github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: DCSFlightTracker.exe
Expand Down
Loading

0 comments on commit 9377008

Please sign in to comment.