revert(ci): revert tests

This commit is contained in:
Nam Anh 2022-07-01 13:29:46 +07:00
parent c4ad2b4ef4
commit 569ee03c26
No known key found for this signature in database
GPG Key ID: 3607BE99CDA9C7C2
2 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env zx
import 'zx/globals'
const output = (await $`ls -d */`).stdout.trim();
cd('.github');
@ -10,8 +10,6 @@ const final_manifest = await Promise.all(output.split('\n').map(async (dir) => {
return JSON.parse(theme_manifest);
}));
cd('..')
cd('..');
const cmd = `echo ${JSON.stringify(final_manifest, null, 2)} > manifest.json`.replace("$'[", "'[");
await $(cmd);
await $`echo ${JSON.stringify(final_manifest, null, 2)} > manifest.json`;

View File

@ -36,8 +36,7 @@ jobs:
cd('..')
const cmd = `echo ${JSON.stringify(final_manifest, null, 2)} > manifest.json`.replace("$'[", "'[");
await $(cmd);
await `echo ${JSON.stringify(final_manifest, null, 2)} > manifest.json`
EOF
- name: push generated manifest