-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/add chagesets test changeset (#1199)
* chore: tests creating changesets * chore: customize ... * chore: add changeset * chore: use fixed instead on linked * chore: modify action
- Loading branch information
Showing
4 changed files
with
87 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [["@redocly/cli", "@redocly/openapi-core"]], | ||
"access": "restricted", | ||
"fixed": [["@redocly/cli", "@redocly/openapi-core"]], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "chore/add-chagesets", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@redocly/cli': minor | ||
--- | ||
|
||
chore: customize action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,78 +8,78 @@ on: | |
- main | ||
|
||
jobs: | ||
build-and-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
- name: Typecheck | ||
run: npm run typecheck | ||
- name: Unit Tests | ||
run: npm run jest -- --silent --ci --testLocationInResults --bail --coverage | ||
- name: E2E Tests | ||
run: npm run e2e | ||
env: | ||
CI: true | ||
# build-and-unit: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# cache: 'npm' | ||
# - name: Install dependencies | ||
# run: npm ci | ||
# env: | ||
# CI: true | ||
# - name: Typecheck | ||
# run: npm run typecheck | ||
# - name: Unit Tests | ||
# run: npm run jest -- --silent --ci --testLocationInResults --bail --coverage | ||
# - name: E2E Tests | ||
# run: npm run e2e | ||
# env: | ||
# CI: true | ||
|
||
# FIXME: fix this so the `cli` package includes the corresponding `core` | ||
cli-package-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
- name: Prepare CLI and Core packages | ||
run: npm run pack:prepare | ||
- name: Install CLI Package | ||
run: npm install -g redocly-cli.tgz | ||
- name: Redocly version | ||
run: redocly --version | ||
- name: Definition test | ||
run: redocly lint packages/core/src/benchmark/benches/rebilly.yaml --format=stylish | ||
# # FIXME: fix this so the `cli` package includes the corresponding `core` | ||
# cli-package-test: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# cache: 'npm' | ||
# - name: Install dependencies | ||
# run: npm ci | ||
# env: | ||
# CI: true | ||
# - name: Prepare CLI and Core packages | ||
# run: npm run pack:prepare | ||
# - name: Install CLI Package | ||
# run: npm install -g redocly-cli.tgz | ||
# - name: Redocly version | ||
# run: redocly --version | ||
# - name: Definition test | ||
# run: redocly lint packages/core/src/benchmark/benches/rebilly.yaml --format=stylish | ||
|
||
coverage-report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- name: Coverage Report | ||
uses: artiomtr/[email protected] | ||
continue-on-error: true | ||
with: | ||
skip-step: none | ||
annotations: none | ||
test-script: npm run jest | ||
# coverage-report: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# cache: 'npm' | ||
# - name: Coverage Report | ||
# uses: artiomtr/[email protected] | ||
# continue-on-error: true | ||
# with: | ||
# skip-step: none | ||
# annotations: none | ||
# test-script: npm run jest | ||
|
||
prettier-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm ci | ||
env: | ||
CI: true | ||
- run: npm run prettier:check | ||
# prettier-check: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# cache: 'npm' | ||
# - name: Install dependencies | ||
# run: npm ci | ||
# env: | ||
# CI: true | ||
# - run: npm run prettier:check | ||
|
||
eslint: | ||
runs-on: ubuntu-latest | ||
|