diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 200ada0..8da76f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Lint Commits against conventional commits spec with commitlint uses: wagoid/commitlint-github-action@v6 @@ -17,7 +17,7 @@ jobs: configFile: commitlint.config.ts - name: Setup Node.js 22.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 22.x cache: 'npm' @@ -53,10 +53,10 @@ jobs: fontawesome-svg-core: '6.x' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c86765a..bfc8368 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js 22.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 22.x cache: 'npm' @@ -40,7 +40,7 @@ jobs: uses: actions/configure-pages@v5 - name: Upload Artifacts - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v4 with: path: './docs/dist' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f23df78..9a3dafc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js 22.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 22.x cache: 'npm' @@ -36,10 +36,10 @@ jobs: needs: validate steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Node.js 22.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 22.x registry-url: 'https://registry.npmjs.org/' @@ -64,12 +64,12 @@ jobs: needs: validate steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: main # Since the prior publish step will have pushed a new release tag, we need to ensure we are on the main branch to avoid issues with detached HEAD state. - name: Setup Node.js 22.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version: 22.x registry-url: 'https://npm.fontawesome.com/' @@ -78,7 +78,7 @@ jobs: - name: Authenticate with FontAwesome Pro Registry env: TOKEN: ${{ secrets.CLOUDSMITH_PUBLISH_TOKEN }} - run: echo -e "token\n${TOKEN}\n" | npm login --registry=https://npm.fontawesome.com/ + run: echo "//npm.fontawesome.com/:_authToken=${TOKEN}" > ./.npmrc - name: Publish Release on FontAwesome Pro Registry run: npm publish --tag latest --registry=https://npm.fontawesome.com/