chore: update @ipld/car to gh:mabels/js-car #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
#env: | |
# FIREPROOF_CORE_VERSION: "^0.19.111" | |
jobs: | |
build-vendor: | |
name: Build Vendor Patch Package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
run_install: false | |
version: 9 | |
- uses: actions/checkout@v4 | |
- name: install and build | |
run: | | |
pnpm install | |
pnpm run build | |
- uses: actions/checkout@v4 | |
if: startsWith(github.ref, 'refs/tags/v') | |
with: | |
repository: fireproof-storage/fireproof | |
path: ./fireproof | |
- name: publish | |
if: startsWith(github.ref, 'refs/tags/v') | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
git fetch --tags --force | |
# we need to have a safe way to store of allowedSigners | |
git config --local --add gpg.ssh.allowedSignersFile ./fireproof/allowed_signers | |
echo "GITHUB_REF->"$GITHUB_REF | |
# test tag signature | |
git tag -v $(git describe --tags --abbrev=0) | |
# should only run if a tag is set | |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | |
(cd dist && pnpm publish --access public --no-git-checks) | |