Skip to content

Commit

Permalink
rf(release): changed to use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus7474 committed Oct 27, 2024
1 parent 2d57a94 commit 8d284d6
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.repository.default_branch }}

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 9

- name: Get variables
id: get_vars
run: |
Expand All @@ -39,15 +34,15 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
cache: 'npm'
cache-dependency-path: 'package-lock.json'

- name: Install dependencies
run: pnpm i --frozen-lockfile
run: npm ci

- name: Run build in web/
working-directory: web
run: pnpm run build
run: npm run build

- name: Update fxmanifest version
run: |
Expand Down Expand Up @@ -80,7 +75,7 @@ jobs:
uses: marvinpinto/[email protected]
id: auto_release
with:
repo_token: '${{ secrets.RELEASE_TOKEN }}'
repo_token: '${{ secrets.GITHUB_TOKEN }}'
title: '${{ steps.get_vars.outputs.VERSION }}'
prerelease: false
files: ${{ github.event.repository.name }}.zip

0 comments on commit 8d284d6

Please sign in to comment.