Release: v0.46.0 #351
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'PR: Test' | |
| on: pull_request | |
| jobs: | |
| test-cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - uses: actions/checkout@v4 | |
| - name: Configure git identity | |
| run: | | |
| git config user.name "Github Action $GITHUB_JOB" | |
| git config user.email "$(whoami)@$(uname -n)" | |
| - run: npm install | |
| - name: 'Test projection: github-action-projector' | |
| run: node bin/cli.js project --no-cache-from --cache-to=origin github-action-projector | |
| - name: 'Test projection: docs-site' | |
| run: node bin/cli.js project --no-cache-from --cache-to=origin docs-site | |
| test-action: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - uses: actions/checkout@v4 | |
| - run: npm install | |
| working-directory: github-actions/projector | |
| - name: Install local hologit | |
| run: | | |
| npm install | |
| npm link | |
| - name: 'Test projection action: github-action-projector' | |
| uses: ./github-actions/projector/ | |
| with: | |
| holobranch: github-action-projector | |
| cache: false | |
| - name: 'Test projection action: docs-site' | |
| uses: ./github-actions/projector/ | |
| with: | |
| holobranch: docs-site | |
| cache: false |