Skip to content

Commit

Permalink
CI: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
tchief committed Nov 28, 2023
1 parent 0bb5d73 commit de07867
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,26 @@ jobs:
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_READ }}" > ~/.npmrc

- name: Ensure there is no .nprmc with tokens
run: cat ~/.npmrc

- name: Ensure there is no .nprmc with tokens
run: rm -rf ~/.npmrc

- name: Ensure there is no .nprmc with tokens
uses: GuillaumeFalourd/[email protected]
with:
command_line: cat ~/.npmrc
assert_file_path: discard.txt
expected_result: PASSED

- name: Ensure there is no .nprmc with tokens
uses: GuillaumeFalourd/[email protected]
with:
command_line: cat ~/.npmrc
assert_file_path: ${{ github.workspace }}/test-resources/exporter-output-files.txt
expected_result: PASSED

- name: Install dependencies
run: npm i

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Ensure there is no .nprmc with tokens
run: cat ~/.npmrc

- name: Ensure there is no .nprmc with tokens
run: rm -rf ~/.npmrc

- name: Ensure there is no .nprmc with tokens
uses: GuillaumeFalourd/[email protected]
with:
command_line: cat ~/.npmrc
assert_file_path: discard.txt
expected_result: PASSED

- name: Install Supernova CLI dependency
run: npm install --g @supernovaio/cli

Expand Down

0 comments on commit de07867

Please sign in to comment.