Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-test.yml #93

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 10 additions & 28 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ jobs:
node-version: lts/*

- name: Install dependencies
run: npm ci
run: |
npm install
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
if [[ `git status --porcelain` ]]; then
git add package-lock.json
git commit -m "Update package-lock.json"
git push
fi

- name: Check for changesets
id: check_changes
Expand All @@ -33,33 +41,7 @@ jobs:
- name: Version bump and update changelog
if: steps.check_changes.outputs.changes_detected == 'true'
run: |
git config user.name github-actions
git config user.email [email protected]
npm run version
git push --follow-tags

# test-tauri:
# needs: version-bump
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Setup node
# uses: actions/setup-node@v4
# with:
# node-version: lts/*
#
# - name: Install Rust stable
# uses: dtolnay/rust-toolchain@stable
# with:
# targets: aarch64-apple-darwin
#
# - name: Install packages
# run: npm install
#
# - name: Build Tauri App
# uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# args: "--target aarch64-apple-darwin"
# test-tauri job remains commented out as in the previous version
Loading