Skip to content

Commit cb9d7df

Browse files
authored
Update node.yaml
1 parent 40aea34 commit cb9d7df

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/node.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,32 @@ jobs:
1717
with:
1818
version: latest
1919
- name: Install Dependencies
20-
run: composer install
20+
run: npm install
2121
shell: bash
2222
- name: List Dependencies
23-
run: composer show --all > dependencies.txt
23+
run: npm list --all > dependencies.txt
2424
shell: bash
2525
- name: Collect Dependencies
2626
uses: actions/upload-artifact@v2
2727
with:
2828
name: Dependencies
2929
path: dependencies.txt
3030
- name: List Dependency Updates
31-
run: composer outdated > dependencyUpdates.txt
31+
run: npm outdated > dependencyUpdates.txt || true
3232
shell: bash
3333
- name: Collect Dependency Updates
3434
uses: actions/upload-artifact@v2
3535
with:
3636
name: Dependencies Updates
3737
path: dependencyUpdates.txt
3838
- name: Test
39-
run: vendor/bin/phpunit --log-junit results.xml tests || true
39+
run: npm test || true
40+
shell: bash
41+
- name: Build
42+
run: |-
43+
# package.json does not define a build script, so the build command is commented out.
44+
# npm run build
4045
shell: bash
41-
- if: always()
42-
name: Report
43-
uses: dorny/test-reporter@v1
44-
with:
45-
name: PHP Tests
46-
path: results.xml
47-
reporter: java-junit
48-
fail-on-error: 'false'
4946
- name: Package
5047
run: |-
5148
SOURCEPATH=.
@@ -62,7 +59,6 @@ jobs:
6259
--version ${{ steps.determine_version.outputs.semVer }} \
6360
--format zip \
6461
--overwrite \
65-
--include '**/*.php' \
6662
--include '**/*.html' \
6763
--include '**/*.htm' \
6864
--include '**/*.css' \

0 commit comments

Comments
 (0)