Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 0 additions & 124 deletions .circleci/config.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .circleci/run-local

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: PIE Elements CI

on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn install
- run: scripts/build lint
- run: scripts/build babel test

build-next:
needs: test
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # REQUIRED for npm trusted publishing
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: yarn
- run: yarn install
- run: scripts/build release --next

build-release:
needs: test
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # REQUIRED for npm trusted publishing
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: yarn
- run: yarn install
- run: scripts/build release
34 changes: 18 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "pie-elements",
"private": true,
"browserslist": [
">0.5%",
"not dead"
],
"license": "MIT",
"scripts": {
"lint": "eslint --ext .js --ext .jsx packages",
"test": "scripts/build test",
Expand All @@ -29,6 +27,10 @@
"health:serve": "pie-health serve",
"health:check": "pie-health check packages"
},
"dependencies": {
"core-js": "^3.40.0",
"express": "^4.17.1"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.28.6",
Expand All @@ -40,7 +42,7 @@
"@babel/preset-env": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@pie-framework/build-helper": "^5.2.9",
"@pie-framework/pie-code-health": "git+ssh://git@github.com/pie-framework/pie-code-health.git#main",
"@pie-framework/pie-code-health": "https://github.com/pie-framework/pie-code-health.git#main",
"@pie-lib/test-utils": "1.1.1-next.0",
"@pslb/pslb": "^4.4.1",
"@rollup/plugin-commonjs": "^20.0.0",
Expand Down Expand Up @@ -74,16 +76,6 @@
"semver": "^7.3.2",
"yarn": "^1.22.22"
},
"workspaces": [
"packages/*",
"packages/*/configure",
"packages/*/controller",
"packages/*/print"
],
"dependencies": {
"core-js": "^3.40.0",
"express": "^4.17.1"
},
"resolutions": {
"react": "18.3.1",
"react-dom": "18.3.1",
Expand Down Expand Up @@ -122,5 +114,15 @@
"@pie-lib/text-select": "2.1.1-next.0",
"@pie-lib/tools": "1.1.1-next.0",
"@pie-lib/translator": "3.1.1-next.0"
}
},
"browserslist": [
">0.5%",
"not dead"
],
"workspaces": [
"packages/*",
"packages/*/configure",
"packages/*/controller",
"packages/*/print"
]
}
Loading
Loading