mirror of
https://github.com/bahdotsh/wrkflw.git
synced 2026-01-06 12:26:32 +01:00
- Move test workflows to tests/workflows/ - Move GitLab CI fixtures to tests/fixtures/gitlab-ci/ - Move test scripts to tests/scripts/ - Move Podman testing docs to tests/ - Update paths in test scripts and documentation - Delete MANUAL_TEST_CHECKLIST.md as requested - Update tests/README.md to reflect new organization
31 lines
639 B
YAML
31 lines
639 B
YAML
name: Node.js Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test Node.js
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16.x'
|
|
|
|
- name: Check Node.js version
|
|
run: node --version
|
|
|
|
- name: Create simple script
|
|
run: |
|
|
echo 'console.log("Hello from Node.js!");' > test.js
|
|
echo 'console.log(`Node.js version: ${process.version}`);' >> test.js
|
|
|
|
- name: Run Node.js script
|
|
run: node test.js |