diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91070af..84364fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: yarn-cache @@ -44,7 +44,7 @@ jobs: CI: true - name: Coveralls Parallel - uses: coverallsapp/github-action@v1.1.2 + uses: coverallsapp/github-action@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: node-${{ matrix.node-version }} @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Coveralls Finished - uses: coverallsapp/github-action@v1.1.2 + uses: coverallsapp/github-action@v1 with: github-token: ${{ secrets.github_token }} parallel-finished: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d01b21..c8a888f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: node-version: [18.x] - + if: ${{ github.actor == 'pebie' || github.actor == 'Crow-EH' || github.actor == 'fthouraud' || github.actor == 'leguellec' || github.actor == 'rande' }} steps: @@ -22,10 +22,10 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: yarn-cache @@ -44,7 +44,7 @@ jobs: - name: Bump the version using input strategy run: yarn version --new-version ${{ github.event.inputs.strategy }} --no-git-tag-version - - name: Update changelog + - name: Update changelog id: changelog run: | CHANGELOG=$(yarn conventional-changelog -p conventionalcommits -r -u 0) @@ -53,12 +53,12 @@ jobs: BODY="${BODY//'%'/'%25'}" BODY="${BODY//$'\n'/'%0A'}" BODY="${BODY//$'\r'/'%0D'}" - echo "::set-output name=body::${BODY}" + echo "{body}=${BODY}" >> $GITHUB_OUTPUT - name: Log changes run: | echo "The changelog will be : ${{ steps.changelog.outputs.body }}" - + - name: Get version id: package-version uses: martinbeentjes/npm-get-version-action@v1.2.3 @@ -85,7 +85,7 @@ jobs: with: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - + - name: Publish to NPM run: npm publish --access public env: