file-obj-queue 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/github-actions-demo.yml +18 -0
- package/README.md +3 -4
- package/app.js +1 -1
- package/package.json +1 -1
- package/test/package.js +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: GitHub Actions Demo
|
|
2
|
+
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
|
3
|
+
on: [push]
|
|
4
|
+
jobs:
|
|
5
|
+
Explore-GitHub-Actions:
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
steps:
|
|
8
|
+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
|
9
|
+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
|
|
10
|
+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
11
|
+
- name: Check out repository code
|
|
12
|
+
uses: actions/checkout@v3
|
|
13
|
+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
|
14
|
+
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
15
|
+
- name: List files in the repository
|
|
16
|
+
run: |
|
|
17
|
+
ls ${{ github.workspace }}
|
|
18
|
+
- run: echo "🍏 This job's status is ${{ job.status }}."
|
package/README.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
An array of objects containing file path information. One use is for dynamically import require modules.
|
|
2
|
-
|
|
3
|
-
Installation
|
|
4
|
-
---------
|
|
5
1
|
[](https://www.npmjs.org/package/file-obj-queue)
|
|
6
2
|
[](https://github.com/jman717/file-obj-queue/blob/master/LICENSE)
|
|
3
|
+
|
|
7
4
|
[](https://nodei.co/npm/file-obj-queue/)
|
|
8
5
|
|
|
6
|
+
An array of objects containing file path information. One use is for dynamically import require modules.
|
|
7
|
+
|
|
9
8
|
Mocha Test
|
|
10
9
|
---------
|
|
11
10
|
```
|
package/app.js
CHANGED
|
@@ -34,7 +34,7 @@ class file_obj {
|
|
|
34
34
|
check_file = t.absolute_path.split(last_item)[0], check_path = t.path.split('/')
|
|
35
35
|
|
|
36
36
|
check_file = check_file.replace(/\\/g, "/");
|
|
37
|
-
path_to_check = validPath(
|
|
37
|
+
path_to_check = validPath(t.path);
|
|
38
38
|
|
|
39
39
|
if (!path_to_check.valid) {
|
|
40
40
|
t.errors = true
|
package/package.json
CHANGED