diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml deleted file mode 100644 index 0c602e5..0000000 --- a/.github/workflows/npm-publish-github-packages.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: GitHub Package - -on: - release: - types: [created] - -jobs: - publish-gpr: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - registry-url: https://npm.pkg.github.com/ - - - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 - with: - version: 7.30.0 - run_install: false - - run: pnpm install - - - run: npm config set registry https://npm.pkg.github.com/ - - - name: Publish package - run: npm publish - working-directory: ./packages/server/ - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/publish.yml similarity index 100% rename from .github/workflows/npm-publish.yml rename to .github/workflows/publish.yml