From 119b706326566339f50a21f21c8e793f91b2eb00 Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 11:58:31 -0500 Subject: [PATCH 1/7] workflow test --- .github/workflows/npm-alpha.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index 31e7f5d5..c88aa878 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -10,10 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12.x - - run: yarn install - uses: actions/setup-node@v1 with: node-version: 12.x @@ -33,3 +29,7 @@ jobs: - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.CD_NPM_TOKEN_PUBLISH }} + - uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: yarn install From 65dbb9325f26d7bd62532ce34e65d064ecdd986a Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 12:10:09 -0500 Subject: [PATCH 2/7] test - comment out always-tru --- .github/workflows/npm-alpha.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index c88aa878..f446589c 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -15,7 +15,7 @@ jobs: node-version: 12.x registry-url: https://npm.pkg.github.com/ scope: '@eqworks' - always-auth: true + # always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -25,7 +25,7 @@ jobs: node-version: 12.x registry-url: https://registry.npmjs.org/ scope: '@eqworks' - always-auth: true + # always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.CD_NPM_TOKEN_PUBLISH }} From 3d0925734bed50703952fb9be44c85d10639ea50 Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 12:20:30 -0500 Subject: [PATCH 3/7] original settings --- .github/workflows/npm-alpha.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index f446589c..31e7f5d5 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -10,12 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: yarn install - uses: actions/setup-node@v1 with: node-version: 12.x registry-url: https://npm.pkg.github.com/ scope: '@eqworks' - # always-auth: true + always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -25,11 +29,7 @@ jobs: node-version: 12.x registry-url: https://registry.npmjs.org/ scope: '@eqworks' - # always-auth: true + always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.CD_NPM_TOKEN_PUBLISH }} - - uses: actions/setup-node@v1 - with: - node-version: 12.x - - run: yarn install From 3d0851a75be1424f8909a95f515491e435d7fdf9 Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 13:05:27 -0500 Subject: [PATCH 4/7] package - update for alpha release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 04652bec..5fe59aeb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eqworks/react-maps", - "version": "0.4.2", + "version": "0.4.2-alpha", "description": "React maps", "author": "EQ Inc.", "license": "UNLICENSED", From 00434a7ea6bf3490eb894ff8cf68bf02cd46e9a8 Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 13:37:54 -0500 Subject: [PATCH 5/7] bump the setup-node action version to v2 --- .github/workflows/npm-alpha.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index 31e7f5d5..d33a7523 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: 12.x - run: yarn install - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: 12.x registry-url: https://npm.pkg.github.com/ @@ -24,7 +24,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v2 with: node-version: 12.x registry-url: https://registry.npmjs.org/ From eebf25ca323bc957dd257bc3cd10a2104124f3bd Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 14:58:35 -0500 Subject: [PATCH 6/7] workflow - add override --- .github/workflows/npm-alpha.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index d33a7523..574cebab 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -19,7 +19,7 @@ jobs: node-version: 12.x registry-url: https://npm.pkg.github.com/ scope: '@eqworks' - always-auth: true + - run: echo "@eqworks:registry=https://npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -29,7 +29,6 @@ jobs: node-version: 12.x registry-url: https://registry.npmjs.org/ scope: '@eqworks' - always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.CD_NPM_TOKEN_PUBLISH }} From a4e10015fc634e3b2e9d54b451f814739c7288c6 Mon Sep 17 00:00:00 2001 From: Erika Szabo Date: Wed, 13 Jan 2021 15:03:31 -0500 Subject: [PATCH 7/7] workflows - add back always-auth --- .github/workflows/npm-alpha.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-alpha.yml b/.github/workflows/npm-alpha.yml index 574cebab..7f3e1377 100644 --- a/.github/workflows/npm-alpha.yml +++ b/.github/workflows/npm-alpha.yml @@ -19,6 +19,7 @@ jobs: node-version: 12.x registry-url: https://npm.pkg.github.com/ scope: '@eqworks' + always-auth: true - run: echo "@eqworks:registry=https://npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc - run: yarn publish --tag alpha env: @@ -29,6 +30,7 @@ jobs: node-version: 12.x registry-url: https://registry.npmjs.org/ scope: '@eqworks' + always-auth: true - run: yarn publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.CD_NPM_TOKEN_PUBLISH }}