diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index b07ba00..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Publish - -on: - release: - types: [created] - -jobs: - publish-npm: - name: Publish NPM - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 22 - cache: 'yarn' - registry-url: 'https://registry.npmjs.org' - - name: Install - run: yarn install --immutable - - name: Build - run: yarn build - - name: Copy README into the workspace - run: cp README.md packages/immer-yjs/ - - name: Publish to NPM - run: npm publish --access public --workspace=immer-yjs - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}