Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Erstellt CI/CD-Workflows für GitHub Actions und GitLab CI mit Build-, Test- und Deployment-Schritten.
Use this skill ↓46% 67%+21 ptsof test cases passed
Passed 16 of 24 test cases with the skill, and 11 of 24 without it.
3 of 3 safety checks passed
Not used yet
Workflows für GitHub Actions, GitLab CI, automatisierte Builds, Tests, Deployments.
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: {node-version: 20}
- run: npm ci
- run: npm test
- run: npm run build
docker:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -t app:${{ github.sha }} .
- run: echo ${{ secrets.REGISTRY_PASS }} | docker login -u ${{ secrets.REGISTRY_USER }} --password-stdin
- run: docker push app:${{ github.sha }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: |
docker buildx build --platform linux/amd64,linux/arm64 \
-t app:latest --push .
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.