1313 outputs :
1414 matrix : ${{ steps.set-matrix.outputs.matrix }}
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+ with :
18+ persist-credentials : false
1719 - uses : ./.github/actions/setup
1820 - name : linting
1921 run : pnpm lint
@@ -27,12 +29,16 @@ jobs:
2729 name : Type Checking (current version)
2830 runs-on : ubuntu-latest
2931 steps :
30- - uses : actions/checkout@v4
32+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+ with :
34+ persist-credentials : false
3135 - uses : ./.github/actions/setup
3236 - name : build types
3337 run : pnpm build:types
3438 - name : Check internal types
3539 run : pnpm type-check:internals
40+ - name : Check @handlebars/parser types
41+ run : pnpm type-check:handlebars
3642 - name : Check published types
3743 run : pnpm type-check:types
3844
4450 matrix :
4551 ts-version : ["5.2", "5.3", "5.4", "5.5", "5.6", "5.7", "5.8", "5.9"]
4652 steps :
47- - uses : actions/checkout@v4
53+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
54+ with :
55+ persist-credentials : false
4856 - uses : ./.github/actions/setup
4957 - name : build stable type definitions
5058 run : pnpm build:types
5765 name : Basic Test
5866 runs-on : ubuntu-latest
5967 steps :
60- - uses : actions/checkout@v4
68+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
69+ with :
70+ persist-credentials : false
6171 - uses : ./.github/actions/setup
6272 - name : build
6373 run : pnpm vite build --mode=development
91101 ENABLE_OPTIONAL_FEATURES : " true"
92102
93103 steps :
94- - uses : actions/checkout@v4
104+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
105+ with :
106+ persist-credentials : false
95107 - uses : ./.github/actions/setup
96108 - name : build
97109 run : pnpm vite build --mode=${{ matrix.BUILD || 'development' }}
@@ -111,7 +123,9 @@ jobs:
111123 runs-on : ubuntu-latest
112124 needs : [basic-test, lint, types]
113125 steps :
114- - uses : actions/checkout@v4
126+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
127+ with :
128+ persist-credentials : false
115129 - uses : ./.github/actions/setup
116130 - name : build
117131 env :
@@ -141,7 +155,9 @@ jobs:
141155 fail-fast : false
142156 matrix : ${{fromJson(needs.lint.outputs.matrix)}}
143157 steps :
144- - uses : actions/checkout@v4
158+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
159+ with :
160+ persist-credentials : false
145161 - uses : ./.github/actions/setup
146162 with :
147163 use_lockfile : " false"
@@ -150,28 +166,58 @@ jobs:
150166 - name : test
151167 working-directory : smoke-tests/scenarios
152168 run : |
153- ${{ matrix.command }}
169+ ${MATRIX_COMMAND}
170+ env :
171+ MATRIX_COMMAND : ${{ matrix.command }}
172+
173+ smoke-test-with-deprecations-removed :
174+ name : Smoke tests with Deprecations Removed (Full Ember Apps)
175+ runs-on : ubuntu-latest
176+ needs : [basic-test, lint, types]
177+ strategy :
178+ fail-fast : false
179+ matrix : ${{fromJson(needs.lint.outputs.matrix)}}
180+ steps :
181+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
182+ with :
183+ persist-credentials : false
184+ - uses : ./.github/actions/setup
185+ with :
186+ use_lockfile : " false"
187+ - name : build
188+ run : pnpm build
189+ - name : test
190+ env :
191+ OVERRIDE_DEPRECATION_VERSION : " 15.0.0"
192+ MATRIX_COMMAND : ${{ matrix.command }}
193+ working-directory : smoke-tests/scenarios
194+ run : |
195+ ${MATRIX_COMMAND}
154196
155197 node-test :
156198 name : Node.js Tests
157199 runs-on : ubuntu-latest
158200 needs : [basic-test, lint, types]
159201 steps :
160- - uses : actions/checkout@v4
202+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
203+ with :
204+ persist-credentials : false
161205 - uses : ./.github/actions/setup
162206 - name : build
163207 env :
164208 SHOULD_TRANSPILE_FOR_NODE : true
165209 run : pnpm build
166210 - name : test
167- run : pnpm test:node
211+ run : pnpm test:node && pnpm --filter "@handlebars/parser" test
168212
169213 blueprint-test :
170214 name : Blueprint Tests
171215 runs-on : ubuntu-latest
172216 needs : [lint]
173217 steps :
174- - uses : actions/checkout@v4
218+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
219+ with :
220+ persist-credentials : false
175221 - uses : ./.github/actions/setup
176222 - name : test
177223 run : pnpm test:blueprints
@@ -181,12 +227,14 @@ jobs:
181227 runs-on : ubuntu-22.04 # Firefox is not installing on Ubuntu 24 on GitHub Actions https://github.com/browser-actions/setup-firefox/issues/622
182228 needs : [basic-test, lint, types]
183229 steps :
184- - uses : actions/checkout@v4
230+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
231+ with :
232+ persist-credentials : false
185233 - uses : ./.github/actions/setup
186234 - name : build
187235 run : pnpm vite build --mode=development
188236 - name : Setup firefox
189- uses : browser-actions/setup-firefox@latest
237+ uses : browser-actions/setup-firefox@fcf821c621167805dd63a29662bd7cb5676c81a8 # v1.7.1
190238 with :
191239 firefox-version : 115.9.1esr
192240 - run : firefox --version
@@ -196,10 +244,13 @@ jobs:
196244 perf-check :
197245 name : Perf script still works
198246 runs-on : ubuntu-latest
247+ timeout-minutes : 10
248+ if : ${{ !startsWith(github.ref, 'refs/tags/') }} # Don't run on tags
199249 steps :
200- - uses : actions/checkout@v6
250+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
201251 with :
202252 fetch-depth : 0
253+ persist-credentials : false
203254 - uses : ./.github/actions/setup
204255 - name : Check that the perf script works, so we don't regress
205256 run : RUNS='2' pnpm bench
0 commit comments