From 03dc8b72a9d35f623f0ca94d190971b7c2462359 Mon Sep 17 00:00:00 2001 From: valiantlynx Date: Mon, 8 Apr 2024 17:41:07 +0200 Subject: [PATCH] npm --- .github/workflows/changeset.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index 716c8647..55eeef2a 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -27,12 +27,12 @@ jobs: node-version: '21' registry-url: 'https://registry.npmjs.org/' scope: '@valiantlynx' - + - name: Install Dependencies - run: yarn + run: npm install - name: Build - run: yarn build && yarn package + run: npm run build && npm run package - name: Configure .npmrc for Publishing run: | @@ -42,8 +42,9 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: yarn release + # Ensure you have a script in your package.json named "release" that is configured for npm. + # This could simply be: "release": "npm publish --access public" or include the changeset publish command as needed. + publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}