skipping js ci, adding npm scripts

This commit is contained in:
andy 2021-10-20 20:35:15 +01:00
parent 4d0f3bc9b5
commit 11a48ea4a9
3 changed files with 24 additions and 22 deletions

View File

@ -24,26 +24,26 @@ jobs:
- name: Test
run: dotnet test --no-restore --verbosity normal
build-Js:
# build-Js:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [16]
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# node: [16]
steps:
- uses: actions/checkout@v2
# steps:
# - uses: actions/checkout@v2
- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
# - name: Install Node ${{ matrix.node }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
- name: Install Node Packages
working-directory: ./Selector.Web/Frontend
run: npm ci
# - name: Install Node Packages
# working-directory: ./Selector.Web
# run: npm ci
- name: Compile Front-end
working-directory: ./Selector.Web/Frontend
run: npm run build --if-present
# - name: Compile Front-end
# working-directory: ./Selector.Web
# run: npm run build --if-present

View File

@ -4,7 +4,8 @@
"description": "",
"main": "index.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "gulp"
},
"repository": {
"type": "git",

View File

@ -1,6 +1,7 @@
namespace Selector.Web {awdawd
class Watcher {ada
namespace Selector.Web {
class Watcher {
static example: string = "string";
}awdw
static ex2: string = "awdwad";
}
}