Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VirgilClyne committed Dec 6, 2024
1 parent 30cbebf commit ea5b3e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ jobs:
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version: 'latest'
cache: 'pnpm'
cache: 'npm'
- name: Install dependencies
run: pnpm install
run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
- name: Update local package.json version from release tag
Expand All @@ -37,8 +32,10 @@ jobs:
version: ${{ github.ref_name }}
keep-v: "false" # If set to "true", will not remove any 'v' prefix from the version number.
ignore-semver-check: "false" # If set to "true", will not check if the version number is a valid semver version.
- name: Build
run: pnpm build
- name: Build scripts
run: npm run build
- name: Generate modules
run: npm run build:args
- name: Upload artifact
uses: actions/upload-artifact@master
with:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,17 @@ jobs:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
ref: dev
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version: 'latest'
cache: 'pnpm'
cache: 'npm'
- name: Install dependencies
run: pnpm install
run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
- name: Build
run: pnpm build:dev
run: npm run build:dev
- name: Upload artifact
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit ea5b3e7

Please sign in to comment.