Skip to content

Commit 0fd5cf9

Browse files
committed
chore: install bare in gh actions
1 parent 56ad86e commit 0fd5cf9

4 files changed

Lines changed: 5 additions & 324 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: 'lts/*'
28+
- name: Install bare runtime
29+
run: npm install -g bare
2830
- name: Install dependencies
2931
run: npm clean-install
3032
- name: Run tests

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: 'lts/*'
23+
- name: Install bare runtime
24+
run: npm install -g bare
2325
- name: Install dependencies
2426
run: npm clean-install
2527
- name: Run tests

package-lock.json

Lines changed: 0 additions & 322 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "npm run lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js",
88
"test:build-project": "cd test/project && npm install",
9-
"test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-babel-bundle",
9+
"test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-babel-bundle",
1010
"test:build-default-bundle": "cd test/project && bare-pack app.js -o ../bundles/default.bundle",
1111
"test:build-babel-bundle": "cd test/project && bare-pack app.js | ../../bin.js --plugin bare-bundle-transform-plugin-babel -o ../bundles/babel.bundle",
1212
"test:build-local-babel-bundle": "cd test/project && bare-pack app.js | ../../bin.js --plugin ../plugins/babel.js -o ../bundles/local-babel.bundle",
@@ -65,7 +65,6 @@
6565
"@semantic-release/git": "^10.0.1",
6666
"@semantic-release/npm": "^12.0.2",
6767
"@semantic-release/release-notes-generator": "^14.1.0",
68-
"bare": "^1.22.0",
6968
"bare-pack": "^1.4.5",
7069
"brittle": "^3.18.3",
7170
"prettier": "^3.6.2",

0 commit comments

Comments
 (0)