Skip to content

Commit

Permalink
Change: Use npm for creating release files
Browse files Browse the repository at this point in the history
Replace yarn with npm for creating the release files.
  • Loading branch information
bjoernricks committed Aug 31, 2023
1 parent 3af3120 commit 1fa378b
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/release-pontos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,10 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: "14.x"
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Use Yarn cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-14.x-${{ hashFiles('**/yarn.lock') }}
# `--prefer-offline` gives cache priority
- name: Install dependencies
run: yarn install --prefer-offline
node-version: "14"
cache: "npm"
- name: Build dist files
run: yarn build
run: node run build
- name: Create tarballs
run: |
tar -C build -czvf gsa-dist-${{ needs.release.outputs.release-version }}.tar.gz .
Expand Down

0 comments on commit 1fa378b

Please sign in to comment.