updates Github action and replaces TravisCI badge

pull/1960/head
Felix Wiedenbach 2022-06-15 09:23:14 +02:00
parent 3c024be9c9
commit 924ec23211
4 changed files with 2182 additions and 19 deletions

View File

@ -1,4 +1,4 @@
name: Node CI
name: build
on: [push, pull_request]
@ -6,29 +6,25 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install testing dependencies
run: npm i
- name: test all apps and widgets
run: npm run test
- name: install typescript dependencies
node-version: 16.x
- name: Install testing dependencies
run: npm ci
- name: Test all apps and widgets
run: npm test
- name: Install typescript dependencies
working-directory: ./typescript
run: npm ci
- name: build types
- name: Build types
working-directory: ./typescript
run: npm run build:types
- name: build all TS apps and widgets
- name: Build all TS apps and widgets
working-directory: ./typescript
run: npm run build
run: npm run build

1
.gitignore vendored
View File

@ -1,6 +1,5 @@
.htaccess
node_modules
package-lock.json
.DS_Store
*.js.bak
appdates.csv

View File

@ -1,7 +1,7 @@
Bangle.js App Loader (and Apps)
================================
[![Build Status](https://app.travis-ci.com/espruino/BangleApps.svg?branch=master)](https://app.travis-ci.com/github/espruino/BangleApps)
[![Build Status](https://github.com/espruino/BangleApps/actions/workflows/nodejs.yml/badge.svg)](https://github.com/espruino/BangleApps/actions/workflows/nodejs.yml)
* 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/)

2168
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff