Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/wojtekmaj/async-array-utils. A collection of array-related async utilities.
array array-methods async promise utils
Something went wrong. Try again.
948 B · 43 lines
YAML
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344name: Publish
on: release: types: [published]
env: HUSKY: 0
permissions: id-token: write
jobs: publish: name: Publish runs-on: ubuntu-24.04-arm
steps: - name: Checkout uses: actions/checkout@v6
# ⚠️ Do not cache dependencies in publish workflows # Restoring package-manager cache here increases the risk of a compromised release
- name: Use Node.js uses: actions/setup-node@v6 with: node-version: '24' registry-url: 'https://registry.npmjs.org'
- name: Install Corepack run: npm install -g corepack
- name: Install dependencies run: yarn --immutable
- name: Publish with latest tag if: github.event.release.prerelease == false run: yarn npm publish --tag latest
- name: Publish with next tag if: github.event.release.prerelease == true run: yarn npm publish --tag next