Skip to content

Commit

Permalink
Merge branch 'maintanance'
Browse files Browse the repository at this point in the history
* maintanance:
  Run tests for any branch
  Update `test.yml` action with latest macOS runner
  Configure project for Node 18
  • Loading branch information
jozefizso committed May 13, 2024
2 parents e73cbd4 + 10f7d23 commit 5336b56
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,24 @@ on: # rebuild any PRs and main branch changes
branches:
- main
- 'releases/*'
- '*'

jobs:
build: # make sure build/ci work properly
runs-on: macos-11
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: macos-11
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
path: __tests__/data/Example.xcresult
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"private": false,
"description": "A GitHub Action that generates a human-readable test report from the Xcode result bundle and shows it on GitHub Checks.",
"main": "lib/main.js",
"engines": {
"node": ">= 18"
},
"scripts": {
"build": "tsc",
"format": "prettier --write '**/*.ts'",
Expand Down

0 comments on commit 5336b56

Please sign in to comment.