diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fa12e4d..9c7e4cf 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,9 +15,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 21 - cache: 'npm' - - run: npm ci - - run: npm run build + cache: 'yarn' + - run: yarn install --immutable + - run: yarn build # - run: npm test publish-npm: @@ -29,7 +29,7 @@ jobs: with: node-version: 21 registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish + - run: yarn install --immutable + - run: yarn publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package.json b/package.json index 2254303..c6d2273 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "medusa-storage-supabase", - "version": "0.1.4", + "version": "0.1.5", "description": "A plugin to store files in supabase.", "author": "bernix01 ", "license": "GPL-3.0-only",