diff --git a/.github/workflows/ci-osx.yml b/.github/workflows/ci-osx.yml new file mode 100644 index 00000000..cdef4548 --- /dev/null +++ b/.github/workflows/ci-osx.yml @@ -0,0 +1,36 @@ +name: '๐ŸŽ' +on: + push: + branches: + - 'main' + pull_request: + workflow_dispatch: + +jobs: + node: + runs-on: macos-latest + timeout-minutes: 5 + strategy: + fail-fast: false + name: macOS + steps: + - name: โž• Actions - Checkout + uses: actions/checkout@v4 + + - name: โž• Cache dependencies + uses: actions/cache@v4 + with: + path: ~/.npm + key: npm-osx-${{ hashFiles('package-lock.json') }} + restore-keys: npm-osx- + + - name: โž• Actions - Setup NodeJS + uses: actions/setup-node@v4 + with: + node-version: '22.x' + + - name: ๐Ÿ“ฆ Installing Dependencies + run: npm ci + + - name: ๐Ÿ”ฌ Node + run: npm run test diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index c87b2004..bbf534e4 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -26,8 +26,5 @@ jobs: - name: ๐Ÿ“ฆ Installing Dependencies run: npm ci - - name: ๐Ÿคน๐Ÿปโ€โ™€๏ธ Building the Project - run: npm run build - - name: ๐Ÿ”ฌ Node run: npm run test