diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e8bcdb..9d27443 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,20 +8,15 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [ 20.12.0 ] - steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Fetch git commit history run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 20.12.0 - name: Install dependencies run: npm ci - name: Run build diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e48e879..621c46c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,9 +7,6 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [ 20.12.0 ] steps: - uses: oleksiyrudenko/gha-git-credentials@v2-latest with: @@ -20,10 +17,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: '0' - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 20.12.0 - name: Install dependencies run: npm ci - name: Run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 834a251..9fdc423 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + with: + node-version: 20.12.0 - run: npm ci - run: npx semantic-release env: