Skip to content

Commit

Permalink
Merge branch 'main' into 0.101.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manstie committed Aug 4, 2024
2 parents 9a81b99 + 46314ed commit ad32c8e
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 134 deletions.
96 changes: 12 additions & 84 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,87 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: npm
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: saturday
time: '07:07'
timezone: America/Los_Angeles
open-pull-requests-limit: 10
versioning-strategy: increase
ignore:
- dependency-name: husky
versions:
- '>= 6.a, < 7'
- dependency-name: postcss
versions:
- 8.2.10
- 8.2.12
- 8.2.6
- 8.2.7
- 8.2.8
- 8.2.9
- dependency-name: '@types/jest'
versions:
- 26.0.21
- 26.0.22
- dependency-name: eslint
versions:
- 7.22.0
- 7.23.0
- 7.24.0
- dependency-name: '@typescript-eslint/eslint-plugin'
versions:
- 4.14.1
- 4.15.0
- 4.15.1
- 4.15.2
- 4.16.1
- 4.17.0
- 4.18.0
- 4.19.0
- 4.20.0
- 4.21.0
- 4.22.0
- dependency-name: husky
versions:
- 5.0.9
- 5.1.1
- 5.1.3
- 5.2.0
- dependency-name: typescript
versions:
- 4.1.5
- 4.2.2
- 4.2.3
- dependency-name: ts-jest
versions:
- 26.5.0
- 26.5.1
- 26.5.2
- 26.5.3
- dependency-name: check-node-version
versions:
- 4.1.0
- dependency-name: lint-staged
versions:
- 10.5.4
- dependency-name: '@types/node'
versions:
- 14.14.22
- 14.14.27
- dependency-name: autoprefixer
versions:
- 10.2.3
- 10.2.4
- dependency-name: '@typescript-eslint/parser'
versions:
- 4.14.1
- 4.18.0
- 4.19.0
- 4.20.0
- 4.21.0
- 4.22.0
- dependency-name: '@typescript-eslint/typescript-estree'
versions:
- 4.14.1
interval: "daily"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
36 changes: 18 additions & 18 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
branches: [main, master]
pull_request:
branches: [ main, master ]
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Publish package to GitHub Packages
on:
release:
types: [created]
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
build:
Expand All @@ -10,20 +15,15 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@kedyou'
- name: Build and publish
run: |
npm version --no-git-tag-version ${{ github.event.release.tag_name }}
npm ci
npm publish
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40 changes: 20 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Run Tests
on:
push:
branches: [ main, master ]
branches: [main, master]
pull_request:
branches: [ main, master ]
branches: [main, master]
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run All tests
run: npm test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run All tests
run: npm test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad32c8e

Please sign in to comment.