Skip to content

Commit

Permalink
Add workflow steps for building
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-david committed Aug 5, 2024
1 parent d42eca4 commit 89f7c6f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,27 @@ jobs:
name: Test action

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout code

- name: Run build
run: npm run build

- name: Ensure no pending Git changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "There are pending Git changes after running the build. Did you forget to commit the .js files?"
exit 1
fi
- name: Run tests
run: npm run test

- uses: pCYSl5EDgo/[email protected]
name: Cat for GitHub Actions
- name: Load test key
id: get_key
with:
path: __tests__/test_key_b64.txt
run: |
value=$(cat __tests__/test_key_b64.txt)
echo "text=$value" >> $GITHUB_OUTPUT
- uses: ./
name: zipalign and Sign APK
Expand Down

0 comments on commit 89f7c6f

Please sign in to comment.