mirror of https://github.com/espruino/BangleApps
updates Github action and replaces TravisCI badge
parent
3c024be9c9
commit
924ec23211
|
@ -1,4 +1,4 @@
|
||||||
name: Node CI
|
name: build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
@ -6,29 +6,25 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [16.x]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository and submodules
|
- name: Checkout repository and submodules
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: 16.x
|
||||||
- name: install testing dependencies
|
- name: Install testing dependencies
|
||||||
run: npm i
|
run: npm ci
|
||||||
- name: test all apps and widgets
|
- name: Test all apps and widgets
|
||||||
run: npm run test
|
run: npm test
|
||||||
- name: install typescript dependencies
|
- name: Install typescript dependencies
|
||||||
working-directory: ./typescript
|
working-directory: ./typescript
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: build types
|
- name: Build types
|
||||||
working-directory: ./typescript
|
working-directory: ./typescript
|
||||||
run: npm run build:types
|
run: npm run build:types
|
||||||
- name: build all TS apps and widgets
|
- name: Build all TS apps and widgets
|
||||||
working-directory: ./typescript
|
working-directory: ./typescript
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
.htaccess
|
.htaccess
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.js.bak
|
*.js.bak
|
||||||
appdates.csv
|
appdates.csv
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Bangle.js App Loader (and Apps)
|
Bangle.js App Loader (and Apps)
|
||||||
================================
|
================================
|
||||||
|
|
||||||
[](https://app.travis-ci.com/github/espruino/BangleApps)
|
[](https://github.com/espruino/BangleApps/actions/workflows/nodejs.yml)
|
||||||
|
|
||||||
* Try the **release version** at [banglejs.com/apps](https://banglejs.com/apps)
|
* Try the **release version** at [banglejs.com/apps](https://banglejs.com/apps)
|
||||||
* Try the **development version** at [espruino.github.io](https://espruino.github.io/BangleApps/)
|
* Try the **development version** at [espruino.github.io](https://espruino.github.io/BangleApps/)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue