Skip to content

Commit

Permalink
ci: switch to npm to avoid installing yarn in container
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Mar 20, 2024
1 parent b0e644c commit a8200a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
cache: 'npm'
- name: Build release zip with gulp
run: |
yarn
yarn build --version="$(git describe --tags)"
npm install
npm run build -- --version="$(git describe --tags)"
- name: Build CTAN release zip with l3build
run: l3build ctan --config build-ctan
- name: Upload release zip
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ dist: check all-dev
# use l3build for CTAN release (zip with .tds.zip)
l3build ctan --config build-ctan
# use gulp for GitHub release (zip with generated file)
$(NPM) build -- --version=$(version)
$(NPM) build --version="v$(version)"

0 comments on commit a8200a5

Please sign in to comment.