Skip to content

Commit

Permalink
Do not publish to GH packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianrgreco committed Jul 7, 2020
1 parent 2aafe25 commit b13fc15
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:

build:
native:
runs-on: ${{matrix.os-version}}

strategy:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,3 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "testcontainers",
"author": "Cristian Greco",
"version": "2.18.2",
"version": "2.18.3",
"main": "dist/index",
"types": "dist/index",
"keywords": [
Expand All @@ -26,7 +26,10 @@
"build": "npm run clean && tsc",
"clean": "rimraf dist",
"test": "jest",
"format": "prettier --write package.json src/**/*.ts"
"format": "prettier --write package.json src/**/*.ts",
"version:major": "npm --no-git-tag-version version major",
"version:minor": "npm --no-git-tag-version version minor",
"version:patch": "npm --no-git-tag-version version patch"
},
"dependencies": {
"@types/dockerode": "^2.5.33",
Expand Down
2 changes: 1 addition & 1 deletion src/docker-compose-environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { DockerComposeEnvironment, StartedDockerComposeEnvironment } from "./doc
import { Wait } from "./wait";

describe("DockerComposeEnvironment", () => {
jest.setTimeout(45000);
jest.setTimeout(60000);

const fixtures = path.resolve(__dirname, "..", "fixtures", "docker-compose");

Expand Down
2 changes: 1 addition & 1 deletion src/generic-container.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { StartedTestContainer } from "./test-container";
import { Wait } from "./wait";

describe("GenericContainer", () => {
jest.setTimeout(45000);
jest.setTimeout(60000);

let managedContainers: StartedTestContainer[] = [];
let managedStreams: NodeJS.ReadableStream[] = [];
Expand Down

0 comments on commit b13fc15

Please sign in to comment.