Skip to content

Commit

Permalink
ci: remove release script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidenke committed Jan 4, 2024
1 parent f27d1f4 commit bce9965
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,13 @@ jobs:
with:
node-version: 18.13.0
registry-url: https://registry.npmjs.org/
- uses: actions/cache@v3
- uses: actions/download-artifact@v3
with:
path: ~/.npm
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }}
restore-keys: v1-npm-deps-
- run: npm ci
- run: npm run build
name: latest
path: dist

- run: git config user.email "${{ vars.NPM_EMAIL }}"
- run: git config user.name "${{ vars.NPM_USER }}"
- run: npm run release
- run: npx release-it --ci --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"test:ci": "wtr --ci",
"prebuild": "rimraf dist",
"build": "ts-node esbuild.config.ts",
"start": "ts-node esbuild.config.ts --serve",
"release": "release-it --ci --verbose"
"start": "ts-node esbuild.config.ts --serve"
},
"devDependencies": {
"@esm-bundle/chai": "4.3.4-fix.0",
Expand All @@ -49,7 +48,6 @@
"mocha-junit-reporter": "2.2.1",
"npm-run-all": "4.1.5",
"prettier": "3.1.1",
"release-it": "17.0.1",
"rimraf": "5.0.5",
"sinon": "17.0.1",
"sinon-chai-es": "3.7.0",
Expand Down

0 comments on commit bce9965

Please sign in to comment.