diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 468a5a8ec7..ed22bb7298 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '16' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci - name: Publish @@ -23,4 +24,4 @@ jobs: cd build/ol npm publish --tag dev env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0774258ac8..8cf488ae71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,19 +28,6 @@ jobs: with: node-version: '16' - - name: Determine Cache Directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - - name: Configure Job Cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install Dependencies run: npm ci @@ -63,19 +50,6 @@ jobs: with: node-version: '16' - - name: Determine Cache Directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - - name: Configure Job Cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install Dependencies run: npm ci @@ -98,19 +72,6 @@ jobs: with: node-version: '16' - - name: Determine Cache Directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - - name: Configure Job Cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install Dependencies run: npm ci @@ -133,19 +94,6 @@ jobs: with: node-version: '16' - - name: Determine Cache Directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - - name: Configure Job Cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install Dependencies run: npm ci @@ -171,19 +119,6 @@ jobs: with: node-version: '16' - - name: Determine Cache Directory - id: npm-cache - run: | - echo "::set-output name=dir::$(npm config get cache)" - - - name: Configure Job Cache - uses: actions/cache@v1 - with: - path: ${{ steps.npm-cache.outputs.dir }} - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install Dependencies run: npm ci