Skip to content

Commit

Permalink
Upgrade prepare action (#27)
Browse files Browse the repository at this point in the history
* Upgrade prepare action

* Set packageManager in package.json

* Align pnpm lock version with new pnpm

* Es gibt kein build script
  • Loading branch information
rijkvanzanten authored Jul 10, 2023
1 parent 36751a9 commit 030b5ff
Show file tree
Hide file tree
Showing 3 changed files with 10,770 additions and 58 deletions.
16 changes: 9 additions & 7 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
name: Prepare
description: Install and build the app

inputs:
registry:
description: NPM registry to set up for auth
required: false

runs:
using: 'composite'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: ${{ inputs.registry }}

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"devDependencies": {
"eslint-config-prettier": "^8.5.0"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 030b5ff

Please sign in to comment.