Skip to content

Commit 7d74441

Browse files
untitakerAJ
authored andcommitted
fix: Run linkchecker in CI (#2209)
1 parent ef4b5d4 commit 7d74441

File tree

2 files changed

+26
-2
lines changed
  • .github/workflows
  • src/platforms/common/enriching-error-data/additional-data

2 files changed

+26
-2
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,27 @@ jobs:
6666
- run: yarn install
6767
- name: Run Tests
6868
run: yarn build:test
69+
70+
job_linkcheck:
71+
name: Test (Linkchecker)
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v2
75+
- uses: volta-cli/action@v1
76+
- uses: actions/cache@v2
77+
with:
78+
path: ${{ github.workspace }}/node_modules
79+
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
80+
- run: yarn install
81+
- run: yarn build
82+
- name: Install linkcheck
83+
run: |-
84+
wget https://github.com/filiph/linkcheck/releases/download/v2.0.12/linkcheck-linux-x64.exe -O ./linkcheck
85+
chmod +x ./linkcheck
86+
- name: Install httpserver
87+
run: volta install http-server
88+
- name: Run linkcheck
89+
run: |-
90+
http-server public/ > /dev/null &
91+
sleep 5
92+
./linkcheck

src/platforms/common/enriching-error-data/additional-data/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ If Sentry captures some predefined data but doesn’t expose it as a tag, you ca
3333

3434
`level`
3535

36-
: Defines the severity of an event. The level can be set to one of five values, which are, in order of severity: `fatal`, `error`, `warning`, `info`, and `debug.error`. Learn how to set the level in [Set the Level](#set-the-level)
36+
: Defines the severity of an event. The level can be set to one of five values, which are, in order of severity: `fatal`, `error`, `warning`, `info`, and `debug.error`. Learn how to set the level in [Set the Level](./set-level/)
3737

3838
`user`
3939

4040
: Providing user information to Sentry helps you evaluate the number of users affecting an issue and evaluate the quality of the application. Learn how to capture user information in Capture the User
4141

4242
`fingerprint`
4343

44-
: Sentry uses one or more fingerprints to determine how to group errors into issues. Learn more about Sentry's approach to grouping algorithms in [Grouping Events into Issues](/data-management/event-grouping/). Learn how to override the default group in very advanced use cases in [Modify the Default Fingerprint](#modify-the-default-fingerprint)
44+
: Sentry uses one or more fingerprints to determine how to group errors into issues. Learn more about Sentry's approach to grouping algorithms in [Grouping Events into Issues](../../data-management/event-grouping/). Learn how to override the default group in very advanced use cases in [Modify the Default Fingerprint](../../data-management/event-grouping/sdk-fingerprinting/)
4545

4646
`environment`
4747

0 commit comments

Comments
 (0)