diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2e7ff5a..020f745 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,9 +13,15 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish + - name: Install Yarn + run: npm install -g yarn + - name: Install Dependencies + run: yarn install --frozen-lockfile + - name: Build + run: yarn build + - name: Publish + run: yarn publish --non-interactive env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}