From c96b8dbceb8c0d5d0b4f97fa58d7e9ec7f6ffd75 Mon Sep 17 00:00:00 2001 From: officeyutong Date: Tue, 24 Dec 2024 19:45:49 +0800 Subject: [PATCH] remove useless files --- .github/workflows/github-registry.yml | 30 --------------------------- .npmrc | 3 --- 2 files changed, 33 deletions(-) delete mode 100644 .github/workflows/github-registry.yml delete mode 100644 .npmrc diff --git a/.github/workflows/github-registry.yml b/.github/workflows/github-registry.yml deleted file mode 100644 index fe9a458..0000000 --- a/.github/workflows/github-registry.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Publish package to GitHub Packages -on: - push: - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - # Setup .npmrc file to publish to GitHub Packages - - uses: actions/setup-node@v4 - with: - node-version: '18.x' - registry-url: 'https://npm.pkg.github.com' - scope: '@Officeyutong' - - run: | - rustup target add wasm32-unknown-unknown - cargo install wasm-pack - - run: | - npm install - npm run build -w light-client-wasm -w light-client-db-worker - - run: | - npm run build -w light-client-js - npm ci - npm publish -w light-client-js - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 9181b3a..0000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} -@Officeyutong:registry=https://npm.pkg.github.com/ -always-auth=true