From 11a48ea4a9aeda5e27b2a9f9fceccffefa5f075c Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 20 Oct 2021 20:35:15 +0100 Subject: [PATCH] skipping js ci, adding npm scripts --- .github/workflows/ci.yml | 36 +++++++++++++++++------------------ Selector.Web/package.json | 3 ++- Selector.Web/scripts/index.ts | 7 ++++--- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63d236b..55c2050 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Selector.Web/package.json b/Selector.Web/package.json index 843e119..677eaa6 100644 --- a/Selector.Web/package.json +++ b/Selector.Web/package.json @@ -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", diff --git a/Selector.Web/scripts/index.ts b/Selector.Web/scripts/index.ts index b7ed48a..dc61080 100644 --- a/Selector.Web/scripts/index.ts +++ b/Selector.Web/scripts/index.ts @@ -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"; + } } \ No newline at end of file