Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
gnalh committed Nov 5, 2024
1 parent 5591c9f commit 4fce225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 78 deletions.
77 changes: 0 additions & 77 deletions .github/actions/analytics-uploader-wrapper/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,46 +27,6 @@ inputs:
runs:
using: composite
steps:
- name: Upload test results with CLI version ${{ inputs.cli-version }} to prod
if: "${{ inputs.cli-version != '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk
token: ${{ inputs.token-prod }}
cli-version: ${{ inputs.cli-version }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: false

- name: Upload test results with CLI version ${{ inputs.cli-version }} to staging
if: "${{ inputs.cli-version != '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk-staging-org
token: ${{ inputs.token-staging }}
cli-version: ${{ inputs.cli-version }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: true
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

- name: Upload test results with CLI version ${{ inputs.cli-version }} to dev
if: "${{ inputs.cli-version != '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk-io
token: ${{ inputs.token-dev }}
cli-version: ${{ inputs.cli-version }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: true
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.dev.trunk-staging.io/

- name: Upload test results with CLI version ${{ inputs.cli-version }} to dev2
if: "${{ inputs.cli-version != '' }}"
continue-on-error: true
Expand All @@ -81,43 +41,6 @@ runs:
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.dev2.trunk-staging.io/

- name: Upload test results with default CLI version to prod
if: "${{ inputs.cli-version == '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk
token: ${{ inputs.token-prod }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: false

- name: Upload test results with default CLI version to staging
if: "${{ inputs.cli-version == '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk-staging-org
token: ${{ inputs.token-staging }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: true
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

- name: Upload test results with default CLI version to dev
if: "${{ inputs.cli-version == '' }}"
continue-on-error: true
uses: trunk-io/analytics-uploader@main
with:
org-slug: trunk-io
token: ${{ inputs.token-dev }}
junit-paths: ${{ inputs.junit-paths }}
run: ${{ inputs.run }}
quarantine: true
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.dev.trunk-staging.io

- name: Upload test results with default CLI version to dev2
if: "${{ inputs.cli-version == '' }}"
uses: trunk-io/analytics-uploader@main
Expand Down
2 changes: 1 addition & 1 deletion javascript/tests/jest/__tests__/jest.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const moment = require("moment");

describe("Jest - Day of the Week Tests", () => {
describe("🤨 Jest - Day of the Week Tests", () => {
test("today is Mon || Tues || Wed", () => {
const today = moment().format("dddd");
expect(["Monday", "Tuesday", "Wednesday"]).toContain(today);
Expand Down

0 comments on commit 4fce225

Please # to comment.