diff --git a/.github/workflows/publish-npm-packages.yaml b/.github/workflows/publish-npm-packages.yaml index e15ae25bf..b87451898 100644 --- a/.github/workflows/publish-npm-packages.yaml +++ b/.github/workflows/publish-npm-packages.yaml @@ -25,9 +25,6 @@ jobs: - name: Install dependencies with frozen lock file and generate parser run: npm ci - - name: Build project - run: npm run build - - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23 # v1.4.5 @@ -35,3 +32,4 @@ jobs: publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitignore b/.gitignore index f4d396ecc..dc032942c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ generated *.antlr *.jar *.clinic -*.tsbuildinfo \ No newline at end of file +*.tsbuildinfo +*.npmrc \ No newline at end of file diff --git a/vendor/antlr4-c3/package.json b/vendor/antlr4-c3/package.json index 9bacd5992..c2cb1a140 100644 --- a/vendor/antlr4-c3/package.json +++ b/vendor/antlr4-c3/package.json @@ -8,6 +8,7 @@ "type": "git", "url": "https://github.com/mike-lischke/antlr4-c3" }, + "private": true, "keywords": [ "ANTLR4", "code completion", diff --git a/vendor/antlr4/package.json b/vendor/antlr4/package.json index c0c238a58..56ef14c51 100644 --- a/vendor/antlr4/package.json +++ b/vendor/antlr4/package.json @@ -8,6 +8,7 @@ "module": "dist/antlr4.node.mjs", "types": "src/antlr4/index.d.ts", "repository": "antlr/antlr4.git", + "private": true, "keywords": [ "lexer", "parser",