-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b50925
commit 3a92051
Showing
4 changed files
with
52 additions
and
55 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 |
---|---|---|
@@ -1,38 +1,38 @@ | ||
version: 2 | ||
# created by @jcoreio/toolchain-circle | ||
|
||
version: 2.1 | ||
jobs: | ||
build: | ||
branches: | ||
ignore: | ||
- gh-pages | ||
docker: | ||
- image: cimg/node:16.14.0 | ||
- image: cimg/node:20.10.0 | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Setup NPM Token | ||
command: | | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc | ||
echo "strict-peer-dependencies=false" >> ~/.npmrc | ||
# https://github.com/atlassian/react-beautiful-dnd/issues/1007#issuecomment-446415426 | ||
npm config set \ | ||
"//registry.npmjs.org/:_authToken=$NPM_TOKEN" \ | ||
"registry=https://registry.npmjs.org/" | ||
- run: | ||
name: Workaround for Flow crashing | ||
command: echo "server.max_workers=1" >> .flowconfig | ||
- run: | ||
name: Install pnpm | ||
command: sudo npm install --global pnpm | ||
name: Corepack enable | ||
command: sudo corepack enable | ||
- run: | ||
name: Install Dependencies | ||
command: pnpm install --frozen-lockfile | ||
- run: | ||
name: build | ||
command: pnpm prepublishOnly | ||
- run: | ||
name: upload test coverage | ||
command: pnpm codecov | ||
name: Prepublish | ||
command: | | ||
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc prepublish | ||
- run: | ||
name: release | ||
command: pnpm semantic-release | ||
name: Release | ||
command: | | ||
[[ $(netstat -tnlp | grep -F 'circleci-agent') ]] || pnpm run tc release | ||
workflows: | ||
build: | ||
jobs: | ||
- build: | ||
context: | ||
- npm-release | ||
- github-release |
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 |
---|---|---|
@@ -1,24 +1,27 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
<title>material-ui-popup-state</title> | ||
<style type="text/css"> | ||
body { | ||
background-color: #fafafa; | ||
} | ||
.loading { | ||
position: absolute; | ||
text-align: center; | ||
width: 100%; | ||
top: 10%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"><h1 class="loading">Loading...</h1></div> | ||
<script src="bundle.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
/> | ||
<title>material-ui-popup-state</title> | ||
<style type="text/css"> | ||
body { | ||
background-color: #fafafa; | ||
} | ||
.loading { | ||
position: absolute; | ||
text-align: center; | ||
width: 100%; | ||
top: 10%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"><h1 class="loading">Loading...</h1></div> | ||
<script src="bundle.js"></script> | ||
</body> | ||
</html> |