Skip to content

Commit

Permalink
fix: correct node dir
Browse files Browse the repository at this point in the history
  • Loading branch information
senz committed Feb 26, 2024
1 parent 4ac2df1 commit 77c49ef
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-user-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ jobs:
# cp -R ${{ inputs.config_path }}/* "${{ env.base_dir }}/${{ inputs.config_path }}/"
# fi

- uses: actions/setup-node@v4
with:
node-version: 20.11.1
cache: npm
cache-dependency-path: ${{ env.base_dir }}/package-lock.json

- name: Checkout Cheatsheet
uses: actions/checkout@v4
with:
repository: senz/cheatsheet-generator
path: ${{ env.cheatsheet_dir }}
# ref: ${{ env.ch_version }}

# ref: ${{ env.ch_version }}

- uses: actions/setup-node@v4
with:
node-version: 20.11.1
cache: npm
cache-dependency-path: ${{ env.cheatsheet_dir }}/package-lock.json

- name: symlink config
working-directory: ${{ env.base_dir }}
run: |
Expand All @@ -103,12 +103,12 @@ jobs:
ls -l "${{ env.cheatsheet_dir }}"
- run: npm ci
working-directory: ${{ env.base_dir }}
working-directory: ${{ env.cheatsheet_dir }}

- run: npm run build
env:
NODE_OPTIONS: "--openssl-legacy-provider"
working-directory: ${{ env.base_dir }}
working-directory: ${{ env.cheatsheet_dir }}

- name: Archive (${{ env.config_name }})
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 77c49ef

Please sign in to comment.