Skip to content

Commit

Permalink
ci: fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 25, 2022
1 parent ab7a324 commit 3bf8f28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# If the tests pass and this is a push to the master branch it also runs Semantic Release.
name: CI
on: [push, pull_request]

env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

jobs:
init:
name: init
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"exports": "./src/main/js/index.js",
"bin": "./src/main/js/cli.js",
"scripts": {
"_test": "NPM_REGISTRY='http://localhost:4873' NPM_TOKEN='mRv6eIuiaggXGb9ZDFCtBA==' c8 uvu ./src/test -i fixtures -i utils && c8 report -r lcov",
"test": "NPM_REGISTRY='http://localhost:4873' NPM_TOKEN='mRv6eIuiaggXGb9ZDFCtBA==' c8 uvu ./src/test -i fixtures -i utils && c8 report -r lcov",
"test:it": "NPM_REGISTRY='http://localhost:4873' NPM_TOKEN='mRv6eIuiaggXGb9ZDFCtBA==' node ./src/test/js/integration.test.js",
"test": "NPM_REGISTRY='http://localhost:4873' NPM_TOKEN='mRv6eIuiaggXGb9ZDFCtBA==' node ./src/test/js/integration.test.js",
"docs": "mkdir -p docs && cp ./README.md ./docs/README.md"
},
"dependencies": {
Expand Down
8 changes: 0 additions & 8 deletions src/test/js/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import {addCommits, createFakeRepo, createNpmRegistry, fixtures} from './test-ut

const test = suite('integration')

try {

const cwd = await createFakeRepo({
commits: [
{
Expand Down Expand Up @@ -217,10 +215,4 @@ test('run()', async () => {
await registry.stop()
})

} catch (e) {
console.error(e)

throw e
}

test.run()

0 comments on commit 3bf8f28

Please sign in to comment.