UNPKG

fetch-aws4

Version:

Fetch wrap to add AWS v4 signature to the request

28 lines (25 loc) 568 B
name: Release on: workflow_dispatch: release: types: - published jobs: release: runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 - name: Create .npmrc run: | echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm i - run: npm run build - run: npm publish --access public