diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d350368..98c5e9b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,48 +12,48 @@ env: VERSION: 0.7.7 jobs: - publish-to-npm: - name: Publish to NPM - runs-on: [ubuntu-latest] - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 16 - cache: npm - - - name: Write NPM RC - run: | - echo '@castlabs:registry=https://registry.npmjs.org' > .npmrc - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc - - - name: Set Package Version - run: npm --no-git-tag-version --allow-same-version version ${{ env.VERSION }} - - # TODO remove this debug - - name: Debug Echo Version - run: echo ${{ env.VERSION }} - # TODO remove this debug - - name: Debug Cat package.json - run: cat package.json - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - # TODO NOT dry run - - name: Publish to NPM - run: npm publish --dry-run - - - name: Job Summary - run: | - echo '### NPM Release' >> $GITHUB_STEP_SUMMARY - echo "Released version ${{ env.VERSION }} of https://www.npmjs.com/package/@castlabs/prestoplay-react-components" >> $GITHUB_STEP_SUMMARY + # publish-to-npm: + # name: Publish to NPM + # runs-on: [ubuntu-latest] + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + + # - name: Setup Node + # uses: actions/setup-node@v3 + # with: + # node-version: 16 + # cache: npm + + # - name: Write NPM RC + # run: | + # echo '@castlabs:registry=https://registry.npmjs.org' > .npmrc + # echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc + + # - name: Set Package Version + # run: npm --no-git-tag-version --allow-same-version version ${{ env.VERSION }} + + # # TODO remove this debug + # - name: Debug Echo Version + # run: echo ${{ env.VERSION }} + # # TODO remove this debug + # - name: Debug Cat package.json + # run: cat package.json + + # - name: Install dependencies + # run: npm ci + + # - name: Build + # run: npm run build + + # # TODO NOT dry run + # - name: Publish to NPM + # run: npm publish --dry-run + + # - name: Job Summary + # run: | + # echo '### NPM Release' >> $GITHUB_STEP_SUMMARY + # echo "Released version ${{ env.VERSION }} of https://www.npmjs.com/package/@castlabs/prestoplay-react-components" >> $GITHUB_STEP_SUMMARY publish-api-docs: