Skip to content

Commit

Permalink
rename all the things o/ (#114)
Browse files Browse the repository at this point in the history
* rename all the things o/

* upgrade artifact actions

* delete napi build workflow

* pin action version

* remove iast remains

* package.json keywords

* restore previous version
  • Loading branch information
iunanua authored Feb 26, 2025
1 parent 49240d5 commit 219c2c9
Show file tree
Hide file tree
Showing 29 changed files with 67 additions and 5,727 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
- uses: codex-team/[email protected]
id: package

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: datadog-native-iast-rewriter-${{ steps.package.outputs.version }}
name: datadog-wasm-js-rewriter-${{ steps.package.outputs.version }}
path: '*.tgz'

static-checks:
Expand Down Expand Up @@ -111,10 +111,10 @@ jobs:
- run: npm ci --ignore-scripts
- uses: codex-team/[email protected]
id: package
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: datadog-native-iast-rewriter-${{ steps.package.outputs.version }}
- run: npm i datadog-native-iast-rewriter-${{ steps.package.outputs.version }}.tgz
name: datadog-wasm-js-rewriter-${{ steps.package.outputs.version }}
- run: npm i datadog-wasm-js-rewriter-${{ steps.package.outputs.version }}.tgz
- run: npm run test:junit
- run: npm run test:integration:ci
- name: Publish Test Report
Expand All @@ -141,9 +141,9 @@ jobs:
node-version: '16'
- uses: codex-team/[email protected]
id: package
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: datadog-native-iast-rewriter-${{ steps.package.outputs.version }}
name: datadog-wasm-js-rewriter-${{ steps.package.outputs.version }}
- run: docker build -t test -f ./docker/${{ matrix.target.dockerfile }} --build-arg NPM_VERSION=${{ steps.package.outputs.version }} .
- run: docker run --name tester test
- run: docker cp tester:/test/build/junit.xml ./junit.xml
Expand All @@ -161,9 +161,9 @@ jobs:
- uses: actions/checkout@v3
- uses: codex-team/[email protected]
id: package
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: datadog-native-iast-rewriter-${{ steps.package.outputs.version }}
name: datadog-wasm-js-rewriter-${{ steps.package.outputs.version }}

- name: Restore v8 builder Image
id: cache-docker-v8
Expand Down
226 changes: 0 additions & 226 deletions .github/workflows/build.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release

env:
ARTIFACT_NAME: datadog-native-iast-rewriter
ARTIFACT_NAME: datadog-wasm-js-rewriter

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
npm pack
- uses: codex-team/[email protected]
id: package
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: ${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}
path: '*.tgz'
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v3
- uses: codex-team/[email protected]
id: package
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: ${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}
- uses: actions/create-release@v1
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v3
- uses: codex-team/[email protected]
id: package
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: ${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to dd-native-iast-rewriter-js
# Contributing to dd-wasm-js-rewriter

Please reach out before starting work on any major code changes.
This will ensure we avoid duplicating work, or that your code can't be merged due to a rapidly changing
Expand Down
Loading

0 comments on commit 219c2c9

Please sign in to comment.