diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e594bd9..ca874ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,30 +1,29 @@ name: Releases -on: - push: - tags: - - '*' +on: + push: + tags: + - '*' jobs: - - build: - runs-on: ubuntu-latest - permissions: - contents: write - strategy: - matrix: - node-version: [21.x, 20.x, 18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: "npm" - - run: npm install - - run: npm run release - - uses: ncipollo/release-action@v1 - with: - artifacts: "release.tar.gz,foo/*.txt" - bodyFile: "body.md" + build: + runs-on: ubuntu-latest + permissions: + contents: write + strategy: + matrix: + node-version: [21.x, 20.x, 18.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm install + - run: npm run release + - uses: ncipollo/release-action@v1 + with: + artifacts: 'release.tar.gz,foo/*.txt' + bodyFile: 'body.md'