diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 34413fa..2c836d5 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -52,6 +52,9 @@ jobs: node-version-file: '.nvmrc' cache: 'yarn' + - name: Update npm + run: npm install -g npm@11.5.1 + - name: Install dependencies run: yarn install @@ -59,11 +62,8 @@ jobs: run: yarn version patch - name: Publish package - run: | - echo "npmAuthToken: \${NPM_TOKEN}" >> .yarnrc.yml - yarn npm publish + run: yarn npm publish env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_OPTIONS: --max-old-space-size=8192 - name: Set git username with email diff --git a/.gitignore b/.gitignore index 8789743..f539651 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,6 @@ coverage .vitepress/cache .vitepress/dist -.env \ No newline at end of file +.env + +.DS_Store