Skip to content

Commit

Permalink
Add build-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krypciak committed Sep 30, 2023
1 parent 03cfc84 commit 2e09855
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build check

on:
workflow_dispatch:
push:
branches:
- dev


jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Install dependencies
run: sudo apt update; sudo apt install npm

- name: Compile
run: npm install; npm run build
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
exit 1
fi
- name: Install dependencies
run: sudo apt update; sudo apt install npm

- name: Update package.json and ccmod.json
run: |
sed -i "s/\"version\": \".*\"/\"version\": \"${VERSION}\"/" package.json ccmod.json
Expand Down

0 comments on commit 2e09855

Please sign in to comment.