We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4d738 commit a7d0501Copy full SHA for a7d0501
action.yml
@@ -29,14 +29,23 @@ runs:
29
shell: bash
30
run: |
31
corepack enable
32
- yarn_version=$(yarn --version)
33
- yarn_version_major=${yarn_version:0:1}
34
35
- if [ "${yarn_version_major}" = '1' ]; then
36
- yarn install --immutable
+ if [ -f "pnpm-lock.yaml" ]; then
+ pnpm install
+ elif [ -f "package-lock.json" ]; then
+ npm install
37
else
38
- yarn install --frozen-lockfile
+ yarn_version=$(yarn --version)
39
+ yarn_version_major=${yarn_version:0:1}
40
+
41
+ if [ "${yarn_version_major}" = '1' ]; then
42
+ yarn install --immutable
43
+ else
44
+ yarn install --frozen-lockfile
45
+ fi
46
fi
47
48
49
# TODO Do not assume that dripip is locally installed.
50
- name: Publish Release
51
0 commit comments