save workspace as artifact #5
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '10 0 * * 0' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 20.x, 21.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check out ACE_TAO | |
uses: actions/checkout@v3 | |
with: | |
repository: DOCGroup/ACE_TAO | |
path: ACE_TAO | |
- name: Check out OpenDDS | |
uses: actions/checkout@v3 | |
with: | |
repository: OpenDDS/OpenDDS | |
path: OpenDDS | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run build --if-present | |
- name: upload workspace before test | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ github.job }} | |
path: . | |
- name: Test | |
run: | | |
export ACE_ROOT=`pwd`/ACE_TAO/ACE | |
export DDS_ROOT=`pwd`/OpenDDS | |
cd tests | |
npm ci | |
./basic_forward.pl |