@@ -4,10 +4,10 @@ name: CI & Release
4
4
# Workflow name based on selected inputs. Fallback to default Github naming when expression evaluates to empty string
5
5
run-name : >-
6
6
${{
7
- inputs.release && inputs.test && 'Build ➤ Test ➤ Publish to NPM' ||
8
- inputs.release && !inputs.test && 'Build ➤ Skip Tests ➤ Publish to NPM' ||
9
- github.event_name == 'workflow_dispatch' && inputs.test && 'Build ➤ Test' ||
10
- github.event_name == 'workflow_dispatch' && !inputs.test && 'Build ➤ Skip Tests' ||
7
+ inputs.release && inputs.test && format( 'Build {0} ➤ Test ➤ Publish to NPM', github.ref_name) ||
8
+ inputs.release && !inputs.test && format( 'Build {0} ➤ Skip Tests ➤ Publish to NPM', github.ref_name) ||
9
+ github.event_name == 'workflow_dispatch' && inputs.test && format( 'Build {0} ➤ Test', github.ref_name) ||
10
+ github.event_name == 'workflow_dispatch' && !inputs.test && format( 'Build {0} ➤ Skip Tests', github.ref_name) ||
11
11
''
12
12
}}
13
13
52
52
name : Lint & Build
53
53
steps :
54
54
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
55
- - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
55
+ - uses : actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag= v3
56
56
with :
57
57
cache : npm
58
58
node-version : lts/*
92
92
git config --global core.autocrlf false
93
93
git config --global core.eol lf
94
94
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
95
- - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
95
+ - uses : actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag= v3
96
96
with :
97
97
cache : npm
98
98
node-version : ${{ matrix.node }}
@@ -111,7 +111,7 @@ jobs:
111
111
# Need to fetch entire commit history to
112
112
# analyze every commit since last release
113
113
fetch-depth : 0
114
- - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
114
+ - uses : actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag= v3
115
115
with :
116
116
cache : npm
117
117
node-version : lts/*
0 commit comments