Skip to content

Commit

Permalink
ignore files again
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Oct 1, 2024
1 parent 962b770 commit b68578b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '16.x'
- name: Install dependencies
run: npm ci
- name: Lint
Expand All @@ -28,22 +28,23 @@ jobs:
strategy:
fail-fast: false
matrix:
nodeVersion: [ '18.x' ]
nodeVersion: [ '16.x' ]
os: [ macos-latest ]
tiSDK: [ latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: |
npm ci
npm i titanium -g
ti sdk install ${{ matrix.tiSDK }}
ti sdk install ${{ matrix.tiSDK }} -d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: npm test

6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '16'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down
3 changes: 1 addition & 2 deletions Alloy/tiapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ function getSdkSelectVersion() {
var homeDir = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'],
file = path.join(homeDir, '.titanium', 'config.json');
if (!fs.existsSync(file)) {
//U.die('Titanium configuration file does not exist at "' + file + '"');
return '12.5.0.GA';
U.die('Titanium configuration file does not exist at "' + file + '"');
}
var ticonfig = JSON.parse(fs.readFileSync(file, {encoding: 'utf8'}));
return ticonfig.sdk.selected;
Expand Down

0 comments on commit b68578b

Please sign in to comment.