Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/actions/e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ runs:
using: composite
steps:
- name: End-to-End
uses: phi-ag/run-playwright@e2545afe0352419a2974e7c2a70cdf8a9dd5f85a # v1
uses: phi-ag/run-playwright@6dd667f6044e5c035d176b0ccab578be5d3538bb # v1
with:
version: v1.58.2-noble@sha256:6446946a1d9fd62d9ae501312a2d76a43ee688542b21622056a372959b65d63d
version: v1.59.1-noble@sha256:b0ab6f3cb99aa7803adbc14d9027ec1785fc6e433b97e134e0f8fe61683b6b53
options: -v ${STORE_PATH}:${STORE_PATH}
run: |
corepack enable
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/check-macos-intel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Check macOS Intel

on:
push:
workflow_dispatch:

permissions:
contents: read

jobs:
check-macos-intel:
runs-on: macos-15-large
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive

- name: Show runner arch
run: |
uname -a
arch
sysctl -n machdep.cpu.brand_string

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version-file: .nvmrc

- name: Enable pnpm
run: |
corepack enable
corepack prepare --activate

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Install emsdk
run: |
git clone --depth 1 https://github.com/emscripten-core/emsdk.git /tmp/emsdk
/tmp/emsdk/emsdk install 5.0.6
/tmp/emsdk/emsdk activate 5.0.6
source /tmp/emsdk/emsdk_env.sh
echo "PATH=$PATH" >> "$GITHUB_ENV"
echo "EMSDK=$EMSDK" >> "$GITHUB_ENV"
echo "EMSDK_NODE=$EMSDK_NODE" >> "$GITHUB_ENV"

- name: emcc version
run: emcc -v

- name: Build WASM (SIMD)
run: ./build.sh

- name: Build package
run: pnpm build

- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps webkit chromium firefox

- name: E2E
run: pnpm test:e2e

- name: Upload results
if: always()
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v5
with:
name: e2e-results-macos-intel
path: |
.e2e-results
junit.e2e.xml
if-no-files-found: ignore
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ set -eu

sha1sum ../src/argon2.wasm
sha256sum ../src/argon2.wasm
stat -c "%n %s" ../src/argon2.wasm
)
2 changes: 1 addition & 1 deletion e2e_docker.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
set -eu

VERSION=v1.58.2-noble@sha256:6446946a1d9fd62d9ae501312a2d76a43ee688542b21622056a372959b65d63d
VERSION=v1.59.1-noble@sha256:b0ab6f3cb99aa7803adbc14d9027ec1785fc6e433b97e134e0f8fe61683b6b53
STORE_PATH="$(pnpm store path --silent)"

mkdir -p .run-playwright
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"devDependencies": {
"@cyclonedx/cyclonedx-library": "10.0.0",
"@eslint/js": "10.0.1",
"@playwright/test": "1.58.2",
"@playwright/test": "1.59.1",
"@trivago/prettier-plugin-sort-imports": "6.0.2",
"@types/node": "25.6.0",
"@types/spdx-expression-parse": "4.0.0",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading