From 359258f85cd42394dfc5349bd119baa7e0014032 Mon Sep 17 00:00:00 2001 From: Katie Gengler Date: Thu, 17 Aug 2023 14:49:05 -0400 Subject: [PATCH] Undo CI releasing because I cannot set secrets on the repo --- .github/workflows/publish.yml | 33 --------------------------------- RELEASE.md | 4 ---- package.json | 5 ----- 3 files changed, 42 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index fba3476..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Publish - -on: - push: - tags: - - '*' - -jobs: - publish: - name: Publish to npm - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 16.x - registry-url: 'https://registry.npmjs.org' - - - name: Install Dependencies - run: npm install --no-package-lock - - - name: auto-dist-tag - run: npx auto-dist-tag --write - working-directory: './addon/' - - - name: publish to npm - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - working-directory: './addon/' diff --git a/RELEASE.md b/RELEASE.md index edb24c9..55e91ed 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -58,7 +58,3 @@ release process. It will prompt you to to choose the version number after which you will have the chance to hand tweak the changelog to be used (for the `CHANGELOG.md` and GitHub release), then `release-it` continues on to tagging, pushing the tag and commits, etc. - -Once the tag has been pushed, the GitHub workflow `publish.yml` will be triggered -to publish the package(s) to npm. This workflow does not wait for tests to pass, so -be sure to only run `release-it` on a passing build. diff --git a/package.json b/package.json index cba546e..8eb5e38 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "@babel/plugin-transform-modules-amd": "^7.16.7", "@babel/plugin-transform-strict-mode": "^7.16.7", "@release-it-plugins/lerna-changelog": "^6.0.0", - "@release-it-plugins/workspaces": "^4.0.0", "amd-name-resolver": "1.3.1", "babel-plugin-module-resolver": "^4.1.0", "broccoli-test-helpers": "0.0.9", @@ -74,9 +73,6 @@ }, "release-it": { "plugins": { - "@release-it-plugins/workspaces": { - "publish": false - }, "@release-it-plugins/lerna-changelog": { "infile": "CHANGELOG.md", "launchEditor": true @@ -85,7 +81,6 @@ "git": { "tagName": "v${version}" }, - "npm": false, "github": { "release": true, "tokenRef": "GITHUB_AUTH"