diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 942f3ce..293631b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,22 +1,22 @@ -name: Test and Deploy +Deploy: Test and Deploy on: push: branches: [ main ] -jobs: - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16.x - - run: npm install - - run: npm ci - - run: npm test +# jobs: + # test: + # name: Test + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: actions/setup-node@v3 + # with: + # node-version: 16.x + # - run: npm install + # - run: npm ci + # - run: npm test build: name: Build and Deploy - needs: test + # needs: test runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0084e91..f96bafc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,23 @@ -# name: Test -# on: -# pull_request: -# branches: [ main ] +name: Test +on: + pull_request: + branches: [ main ] -# # top-level call-out of the different tasks within the workflow -# jobs: -# # job id -# test: -# name: Test -# runs-on: ubuntu-latest +# top-level call-out of the different tasks within the workflow +jobs: + # job id + test: + name: Test + runs-on: ubuntu-latest -# # list of steps to complete in the workflow, in order -# steps: -# # extend from these published, pre-configured actions -# - uses: actions/checkout@v3 -# - uses: actions/setup-node@v3 -# with: -# # the node version for the setup-node action -# node-version: 16.x -# # Install packages and run tests -# - run: npm ci -# - run: npm test \ No newline at end of file + # list of steps to complete in the workflow, in order + steps: + # extend from these published, pre-configured actions + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + # the node version for the setup-node action + node-version: 16.x + # Install packages and run tests + - run: npm ci + - run: npm test \ No newline at end of file