Skip to content

Commit 67f98e1

Browse files
committed
meta: add workflow to run tests for check_assets
Refs: #3958
1 parent 3173ed7 commit 67f98e1

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Run tests for check_assets
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/check_assets-tool.yml'
7+
- 'ansible/www-standalone/tools/promote/expected_assets/*'
8+
- 'ansible/www-standalone/tools/promote/check_assets*'
9+
push:
10+
paths:
11+
- '.github/workflows/check_assets-tool.yml'
12+
- 'ansible/www-standalone/tools/promote/expected_assets/*'
13+
- 'ansible/www-standalone/tools/promote/check_assets*'
14+
schedule:
15+
- cron: 0 0 * * *
16+
workflow_dispatch:
17+
18+
permissions:
19+
contents: read
20+
21+
env:
22+
# This needs to match the version of Node.js on www.
23+
NODE_VERSION: 22
24+
25+
jobs:
26+
run-tests:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout current repository
30+
uses: actions/checkout@v4
31+
with:
32+
persist-credentials: false
33+
- name: Use Node.js ${{ env.NODE_VERSION }}
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: ${{ env.NODE_VERSION }}
37+
- name: Run tests
38+
run: node --test
39+
working-directory: ansible/www-standalone/tools/promote/

0 commit comments

Comments
 (0)