diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index d8e447ce..02b78783 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -19,8 +19,9 @@ jobs: os: ["ubuntu:22.04", "debian:10"] container: image: ${{ matrix.os }} - env: - NODE_VERSION: ${{ matrix.version }} + defaults: + run: + shell: bash steps: - name: Update and Install Dependencies run: | @@ -31,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: Run Istallation Script - run: ./scripts/nsolid_setup_deb.sh $NODE_VERSION + run: ./scripts/nsolid_setup_deb.sh ${{ matrix.version }} - name: Install Nodejs run: | @@ -41,7 +42,7 @@ jobs: run: | node -e "console.log(process.version)" NODE_VERSION=$(node -e "console.log((process.version).split('.')[0])") - if [[ ${NODE_VERSION} != "v20" ]]; then + if [[ ${NODE_VERSION} != "v1" ]]; then echo "Node version is not ${{ matrix.version }}. It is $NODE_VERSION" exit 1 fi @@ -55,8 +56,9 @@ jobs: os: ["fedora:36", "amazonlinux:2023"] container: image: ${{ matrix.os }} - env: - NODE_VERSION: ${{ matrix.version }} + defaults: + run: + shell: bash steps: - name: Update and Install Dependencies run: | @@ -67,7 +69,7 @@ jobs: uses: actions/checkout@v4 - name: Run Istallation Script - run: ./scripts/nsolid_setup_rpm.sh $NODE_VERSION + run: ./scripts/nsolid_setup_rpm.sh ${{ matrix.version }} - name: Install Nodejs run: | @@ -77,7 +79,7 @@ jobs: run: | node -e "console.log(process.version)" NODE_VERSION=$(node -e "console.log((process.version).split('.')[0])") - if [[ ${NODE_VERSION} != "v20" ]]; then + if [[ ${NODE_VERSION} != "v1" ]]; then echo "Node version is not ${{ matrix.version }}. It is $NODE_VERSION" exit 1 fi \ No newline at end of file