Skip to content

Commit

Permalink
Merge pull request #45 from balena-io-modules/limit-etcher
Browse files Browse the repository at this point in the history
Pin etcher-sdk to 9.0.8 to match resin-device-operations and fix tests
  • Loading branch information
flowzone-app[bot] authored Dec 17, 2024
2 parents fa5de6c + ba1222a commit e062be2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ runs:
using: "composite"
steps:
- name: Setup Node.js 18
if: ${{ fromJSON(env.os_value)[0] == 'ubuntu-20.04' }}
uses: actions/setup-node@v3
if: ${{ fromJSON(env.os_value)[0] == 'ubuntu-latest' }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 18

- name: Setup Node.js lts
if: ${{ fromJSON(env.os_value)[0] != 'ubuntu-20.04' }}
uses: actions/setup-node@v3
if: ${{ fromJSON(env.os_value)[0] != 'ubuntu-latest' }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: lts/*

Expand All @@ -41,8 +41,8 @@ runs:
node -v
npm -v
export TEST_EMAIL_KEY=${{ format('TEST_EMAIL{0}', fromJSON('{"windows-2019":"","ubuntu-20.04":"_1","macos-12":"_2"}')[fromJSON(env.os_value)[0]]) }}
export TEST_EMAIL=${{ fromJSON(inputs.secrets)[ format('TEST_EMAIL{0}', fromJSON('{"windows-2019":"","ubuntu-20.04":"_1","macos-12":"_2"}')[fromJSON(env.os_value)[0]]) ] }}
export TEST_EMAIL_KEY=${{ format('TEST_EMAIL{0}', fromJSON('{"windows-latest":"","ubuntu-latest":"_1","macos-latest":"_2"}')[fromJSON(env.os_value)[0]]) }}
export TEST_EMAIL=${{ fromJSON(inputs.secrets)[ format('TEST_EMAIL{0}', fromJSON('{"windows-latest":"","ubuntu-latest":"_1","macos-latest":"_2"}')[fromJSON(env.os_value)[0]]) ] }}
export TEST_PASSWORD=${{ fromJSON(inputs.secrets).TEST_PASSWORD }}
echo "TEST_EMAIL_KEY: [ ${TEST_EMAIL_KEY} ]"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ jobs:
(github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target')
secrets: inherit
with:
custom_runs_on: '[["windows-2019"],["ubuntu-20.04"],["macos-12"]]'
custom_test_matrix: >
{
"os": [["windows-latest"],["ubuntu-latest"],["macos-latest"]]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"balena-sdk": "^12.27.0",
"coffeescript": "^1.12.7",
"dotenv": "^4.0.0",
"etcher-sdk": "^9.0.8",
"etcher-sdk": "9.0.8",
"gulp": "^4.0.2",
"gulp-coffee": "^2.3.5",
"gulp-coffeelint": "^0.5.0",
Expand Down

0 comments on commit e062be2

Please sign in to comment.