Skip to content

Commit a738a12

Browse files
committed
wip
1 parent f76a8d3 commit a738a12

File tree

4 files changed

+85
-85
lines changed

4 files changed

+85
-85
lines changed

.github/workflows/application-js-cloudflare-feature.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
contents: read
4242
steps:
4343
- uses: actions/checkout@v4
44-
- uses: MatrixAI/.github/.github/actions/install-nix
44+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
4545
- name: Run linting
4646
run: |
4747
nix develop .#ci --command bash -c $'
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/checkout@v4
6161
with:
6262
lfs: true
63-
- uses: MatrixAI/.github/.github/actions/install-nix
63+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
6464
- name: Run build
6565
run: |
6666
nix develop .#ci --command bash -c $'
@@ -84,7 +84,7 @@ jobs:
8484
- uses: actions/checkout@v4
8585
with:
8686
lfs: true
87-
- uses: MatrixAI/.github/.github/actions/install-nix
87+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
8888
- uses: actions/download-artifact@v4
8989
with:
9090
name: public

.github/workflows/library-js-feature.yml

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -20,81 +20,81 @@ jobs:
2020
npm run lint
2121
'
2222
23-
# # Build the dist
24-
# feature-build:
25-
# name: "Feature / Build"
26-
# runs-on: ubuntu-latest
27-
# permissions:
28-
# packages: read
29-
# contents: read
30-
# actions: write
31-
# steps:
32-
# - uses: actions/checkout@v4
33-
# - uses: MatrixAI/.github/.github/actions/install-nix
34-
# - name: Run build
35-
# run: |
36-
# nix develop .#ci --command bash -c $'
37-
# npm run build --verbose
38-
# '
39-
# - name: Upload Build
40-
# uses: actions/upload-artifact@v4
41-
# with:
42-
# name: dist
43-
# path: ./dist
23+
# Build the dist
24+
feature-build:
25+
name: "Feature / Build"
26+
runs-on: ubuntu-latest
27+
permissions:
28+
packages: read
29+
contents: read
30+
actions: write
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
34+
- name: Run build
35+
run: |
36+
nix develop .#ci --command bash -c $'
37+
npm run build --verbose
38+
'
39+
- name: Upload Build
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: dist
43+
path: ./dist
4444

45-
# # Test the dist
46-
# feature-test:
47-
# name: "Feature / Test"
48-
# runs-on: ubuntu-latest
49-
# permissions:
50-
# packages: read
51-
# contents: read
52-
# actions: write
53-
# checks: write
54-
# steps:
55-
# - uses: actions/checkout@v4
56-
# - uses: MatrixAI/.github/.github/actions/install-nix
57-
# - name: Run tests
58-
# run: |
59-
# nix develop .#ci --command bash -c $'
60-
# npm run test -- --ci --coverage
61-
# '
62-
# - name: Upload JUnit report
63-
# if: success() || failure()
64-
# uses: actions/upload-artifact@v4
65-
# with:
66-
# name: junit-report
67-
# path: tmp/junit/junit.xml
68-
# - name: Publish JUnit Report
69-
# uses: mikepenz/action-junit-report@v5
70-
# with:
71-
# report_paths: tmp/junit/junit.xml
72-
# - name: Upload Cobertura report
73-
# if: success() || failure()
74-
# uses: actions/upload-artifact@v4
75-
# with:
76-
# name: coverage-report
77-
# path: tmp/coverage/cobertura-coverage.xml
45+
# Test the dist
46+
feature-test:
47+
name: "Feature / Test"
48+
runs-on: ubuntu-latest
49+
permissions:
50+
packages: read
51+
contents: read
52+
actions: write
53+
checks: write
54+
steps:
55+
- uses: actions/checkout@v4
56+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
57+
- name: Run tests
58+
run: |
59+
nix develop .#ci --command bash -c $'
60+
npm run test -- --ci --coverage
61+
'
62+
- name: Upload JUnit report
63+
if: success() || failure()
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: junit-report
67+
path: tmp/junit/junit.xml
68+
- name: Publish JUnit Report
69+
uses: mikepenz/action-junit-report@v5
70+
with:
71+
report_paths: tmp/junit/junit.xml
72+
- name: Upload Cobertura report
73+
if: success() || failure()
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: coverage-report
77+
path: tmp/coverage/cobertura-coverage.xml
7878

79-
# # Bench the dist
80-
# feature-bench:
81-
# name: "Feature / Bench"
82-
# runs-on: ubuntu-latest
83-
# permissions:
84-
# packages: read
85-
# contents: read
86-
# actions: write
87-
# steps:
88-
# - uses: actions/checkout@v4
89-
# - uses: MatrixAI/.github/.github/actions/install-nix
90-
# - name: Run bench
91-
# run: |
92-
# nix develop .#ci --command bash -c $'
93-
# npm run bench --if-present
94-
# '
95-
# - name: Upload Bench
96-
# uses: actions/upload-artifact@v4
97-
# with:
98-
# name: metrics-report
99-
# path: ./benches/results/metrics.txt
100-
# if-no-files-found: ignore
79+
# Bench the dist
80+
feature-bench:
81+
name: "Feature / Bench"
82+
runs-on: ubuntu-latest
83+
permissions:
84+
packages: read
85+
contents: read
86+
actions: write
87+
steps:
88+
- uses: actions/checkout@v4
89+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
90+
- name: Run bench
91+
run: |
92+
nix develop .#ci --command bash -c $'
93+
npm run bench --if-present
94+
'
95+
- name: Upload Bench
96+
uses: actions/upload-artifact@v4
97+
with:
98+
name: metrics-report
99+
path: ./benches/results/metrics.txt
100+
if-no-files-found: ignore

.github/workflows/library-js-staging.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
contents: read
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: MatrixAI/.github/.github/actions/install-nix
27+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
2828
- name: Run linting
2929
run: |
3030
nix develop .#ci --command bash -c $'
@@ -67,7 +67,7 @@ jobs:
6767
actions: write
6868
steps:
6969
- uses: actions/checkout@v4
70-
- uses: MatrixAI/.github/.github/actions/install-nix
70+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
7171
- name: Run build
7272
run: |
7373
nix develop .#ci --command bash -c $'
@@ -129,7 +129,7 @@ jobs:
129129
npm run bench --if-present
130130
steps:
131131
- uses: actions/checkout@v4
132-
- uses: MatrixAI/.github/.github/actions/install-nix
132+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
133133
- uses: actions/download-artifact@v4
134134
with:
135135
name: dist

.github/workflows/library-js-tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
actions: write
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: MatrixAI/.github/.github/actions/install-nix
20+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
2121
- name: Run build
2222
run: |
2323
nix develop .#ci --command bash -c $'
@@ -44,7 +44,7 @@ jobs:
4444
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
4545
steps:
4646
- uses: actions/checkout@v4
47-
- uses: MatrixAI/.github/.github/actions/install-nix
47+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
4848
- uses: actions/download-artifact@v4
4949
with:
5050
name: dist
@@ -77,7 +77,7 @@ jobs:
7777
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
7878
steps:
7979
- uses: actions/checkout@v4
80-
- uses: MatrixAI/.github/.github/actions/install-nix
80+
- uses: MatrixAI/.github/.github/actions/install-nix@feature-actions
8181
- uses: actions/download-artifact@v4
8282
with:
8383
name: dist

0 commit comments

Comments
 (0)