Files
opencode-power-pack/.github/workflows/ci.yml
T
dependabot[bot] a5e6965d52 Bump actions/setup-node from 4.4.0 to 7.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.4.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/49933ea5288caeca8642d1e84afbd3f7d6820020...820762786026740c76f36085b0efc47a31fe5020)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-17 19:58:24 +00:00

54 lines
1.6 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint-skills:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "lts/*"
- run: npm ci
- run: node --test
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.x"
- name: Validate Agent Skills specification
run: |
python -m pip install skills-ref==0.1.1
for skill in skills/*; do
agentskills validate "$skill"
done
sandbox-runtime:
name: sandbox-runtime-${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "20.11.1"
- name: Install Linux sandbox dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y bubblewrap socat ripgrep curl
if sysctl -n kernel.apparmor_restrict_unprivileged_userns >/dev/null 2>&1; then
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
fi
- run: npm ci
- name: Run sandbox contract and real containment tests
run: npm run test:sandbox
env:
OPP_SANDBOX_INTEGRATION: "1"