Skip to content

Commit

Permalink
ci: changed deploy steps
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelPanic92 committed Jun 3, 2024
1 parent e78182e commit 2c94fa6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ jobs:
node-version: '16'

- name: Setup Corepack
run: |
corepack enable
corepack prepare [email protected] --activate
run: corepack enable

- name: Install dependencies
run: npm install
run: corepack npm install

- name: Build project
run: corepack npm run build

- name: Run Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: corepack npm run release
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"scripts": {
"build": "tsc",
"lint": "eslint 'lib/src/**/*.ts'",
"lint:fix": "eslint 'lib/src/**/*.ts' --fix"
"lint:fix": "eslint 'lib/src/**/*.ts' --fix",
"release": "semantic-release"
},
"bin": {
"cypress-runner": "./bin/cypress-runner.js"
Expand Down

0 comments on commit 2c94fa6

Please sign in to comment.