mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Drop the backward-compat gates on v2-dev and fix lint and bundlewatch
Remove check:compat and check:compat-fixture with their files and workflow steps, since 2.0 breaks the 1.x API on purpose. Format the mixins test and raise the tabler-props budget to 3.8 kB.
This commit is contained in:
1 parent
3e00ae75b9
commit
ad80ded69d
13 files changed
+2
-612
No files matched your search
@@ -29,11 +29,3 @@ jobs:
|
||||
# turbo directly: `pnpm run build` also zips the package, which only the release needs
|
||||
- name: Build
|
||||
run: pnpm exec turbo build
|
||||
|
||||
# Nothing the last release shipped may disappear in a minor release. On the
|
||||
# versions pull request it runs with --strict, but workflows there wait for
|
||||
# a manual approval, so the Release workflow runs --strict too.
|
||||
- name: Check backward compatibility
|
||||
env:
|
||||
STRICT: ${{ github.head_ref == 'changeset-release/dev' && '--strict' || '' }}
|
||||
run: pnpm run check:compat $STRICT
|
||||
@@ -38,8 +38,3 @@ jobs:
|
||||
|
||||
- name: Check markup classes
|
||||
run: pnpm run check:markup-classes --html preview/dist --html docs/dist --css preview/dist/dist/css --css preview/dist/dist/libs --css preview/dist/preview/css --css docs/dist/css --css docs/dist/preview/css
|
||||
|
||||
# A project written for the last release has to compile and behave the
|
||||
# same on this build. Runs here because it needs the core build and a browser.
|
||||
- name: Check a project written for the last release
|
||||
run: pnpm run check:compat-fixture
|
||||
@@ -35,15 +35,6 @@ jobs:
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
# The last gate before npm: nothing the previous release shipped may be
|
||||
# missing, unless compat-baseline.txt marks it as accepted. It runs here and
|
||||
# not only on the versions pull request, because workflows on a pull request
|
||||
# opened by the bot wait for a manual approval and may never run. On the
|
||||
# push that publishes, the local version is not on npm yet, so the check
|
||||
# compares with `latest`, which is the release users update from.
|
||||
- name: Check backward compatibility
|
||||
run: pnpm run check:compat --strict
|
||||
|
||||
- name: Create release Pull Request or publish to NPM
|
||||
id: changesets
|
||||
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2
|
||||
|
||||
Reference in new issue
Block a user