Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8eb595f
initial release2.1 code
v10o Feb 11, 2025
a9c0263
initial code release
v10o Feb 22, 2025
d55ebf3
version update
v10o Feb 22, 2025
e813c0b
submodules release
v10o Feb 22, 2025
0be55d0
bal
v10o Feb 22, 2025
362771d
code-release.2.2
Mar 8, 2025
e381549
release preparation
v10o Apr 12, 2025
92b0c0c
improvement
v10o May 3, 2025
817cc0a
node version fixed
v10o May 4, 2025
a9c1283
Merge pull request #47 from noodlescripter/feature/2.0.2v_BETA
v10o May 4, 2025
c7d49dc
fixes
v10o May 4, 2025
4bcbcb2
Merge pull request #48 from noodlescripter/feature/2.0.2v_BETA
v10o May 4, 2025
ba3af4b
branch fixes
v10o May 4, 2025
5ab4f87
Merge pull request #49 from noodlescripter/feature/2.0.2v_BETA
v10o May 4, 2025
18251b9
lock updated
v10o May 4, 2025
78da973
Merge pull request #50 from noodlescripter/feature/2.0.2v_BETA
v10o May 4, 2025
0940b4c
test
v10o May 4, 2025
56a7bdd
Merge pull request #51 from noodlescripter/feature/2.0.2v_BETA
v10o May 4, 2025
b51591e
release preparation
v10o May 10, 2025
036cf90
files deleted
v10o May 10, 2025
8ae4a59
Merge pull request #52 from noodlescripter/feature/2.0.2v_BETA
v10o May 10, 2025
b14f7af
final commit
v10o May 10, 2025
af68e25
Merge pull request #53 from noodlescripter/feature/2.0.2v_BETA
v10o May 10, 2025
9707623
strict the release branch
v10o May 10, 2025
62ec576
Merge pull request #55 from noodlescripter/2.0.2v_BETA
v10o May 10, 2025
b37ce82
Merge pull request #56 from noodlescripter/feature/2.0.2v_BETA
v10o May 10, 2025
7ee07be
release action fixes
v10o May 10, 2025
9280b62
Merge branch 'feature/2.0.2v_BETA' of github.com:noodlescripter/shado…
v10o May 10, 2025
ed3e4c4
Merge pull request #57 from noodlescripter/feature/2.0.2v_BETA
v10o May 10, 2025
037e899
Update shadowdriverjs-release-2.0.2V.yml
v10o May 10, 2025
b5e0844
Update shadowdriverjs-beta-release.yml
v10o May 10, 2025
46e983c
Jenkins files updated
v10o May 11, 2025
caa81d1
Merge pull request #58 from noodlescripter/feature/2.0.2v_BETA
v10o May 11, 2025
0b2df6a
new blogs release 2.0.2vBETA
v10o May 11, 2025
635e7cd
Merge pull request #59 from noodlescripter/feature/2.0.2v_BETA
v10o May 11, 2025
98ee0a5
page fixes
v10o May 11, 2025
b95f309
Merge pull request #60 from noodlescripter/feature/2.0.2v_BETA
v10o May 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Tests on Commit
on:
push:
branches:
- "*" # Runs on every branch push
- 2.0.2v_BETA # Runs only on main branch push
jobs:
run-tests:
runs-on: ubuntu-latest
Expand All @@ -15,10 +15,17 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16 # Adjust this to your project's Node.js version
node-version: 18 # Adjust this to your project's Node.js version

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
- name: Check secret existence
run: |
if [ -n "${{ secrets.SHADOWDRIVERJS }}" ]; then
echo "Secret is set"
else
echo "Secret is not set"
fi
70 changes: 70 additions & 0 deletions .github/workflows/shadowdriverjs-release-2.0.2V.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: ShadowdriverJS Release 2.0.2V

on:
workflow_dispatch:
inputs:
target_branch:
description: 'Branch to release from'
required: true
default: '2.0.2v_BETA'

permissions:
contents: read
pages: write
id-token: write

jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
run: |
if [ "${{ github.ref_name }}" != "${{ github.event.inputs.target_branch }}" ]; then
echo "::warning::Workflow triggered from branch '${{ github.ref_name }}' instead of '${{ github.event.inputs.target_branch }}'. Skipping workflow."
exit 1
fi

build:
needs: check-branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build
- name: Prepare package
run: |
mkdir -p package/shadowReporter
cp package.json package/
cp README.md package/
cp src/shadowReporter/template.html package/shadowReporter/
- name: Verify package contents
run: ls -la package/
- name: Upload package artifact
uses: actions/upload-artifact@v4
with:
name: package-artifact
path: package/

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Download package artifact
uses: actions/download-artifact@v4
with:
name: package-artifact
path: package
- name: Install dependencies
run: npm ci
- name: Publish package
run: cd package && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.SHADOWDRIVERJS }}
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,18 @@ driver
package/
.chromedriver.log
json-test-report/
chromedriver.log
chromedriver.log
userData
*.json
.env
test-report.html
node22
./chromedriver.log
*.log
*.tsbuildinfo
*.tgz
package.json
package-lock.json
./test-report.html
recruiting.html
*.log
Binary file added .gitmodules.swp
Binary file not shown.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:latest

#Workdir
WORKDIR /shadowdriverjs

COPY . /shadowdriverjs

#ENV PATH="/shadowdriverjs/nodejs22/bin:${PATH}"

#RUN npm --version



Loading