Skip to content

Commit

Permalink
build: change gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
owlcode committed May 7, 2024
1 parent 85402b1 commit b149ba1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
run: echo "node:" && node --version && echo "" && echo "npm:" && npm --version && echo "" && echo "yarn:" && yarn --version

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Run CI script
run: yarn run ci
run: npm run ci

release:
permissions: write-all
Expand All @@ -49,13 +49,13 @@ jobs:
run: echo "node:" && node --version && echo "" && echo "npm:" && npm --version && echo "" && echo "yarn:" && yarn --version

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Run build
run: yarn run build
run: npm run build

- name: Run semantic-release
run: yarn run release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b149ba1

Please sign in to comment.