Skip to content

Commit

Permalink
<.>_<.>
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 10, 2023
1 parent 75475d3 commit d6bc05c
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1,396 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: 'Generate Changelog'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bunx changelogithub --no-group
run: npx changelogithub --no-group
continue-on-error: true

publish-npm:
Expand All @@ -45,27 +41,32 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup pnpm'
uses: pnpm/action-setup@v2.2.4
with:
version: 'latest'

- name: 'Setup Node.js'
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

- name: 'Install Dependencies'
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: 'Build'
env:
NODE_ENV: 'production'
run: yarn build
run: pnpm build

- name: 'Publish'
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn publish --access='public' --registry='https://registry.npmjs.org' --no-git-checks
pnpm publish --access='public' --registry='https://registry.npmjs.org' --no-git-checks
publish-gpr:
name: 'GitHub Package Registry'
Expand All @@ -76,20 +77,25 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Setup pnpm'
uses: pnpm/action-setup@v2.2.4
with:
version: 'latest'

- name: 'Setup Node.js'
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'
cache: 'pnpm'
registry-url: 'https://npm.pkg.github.com'

- name: 'Install Dependencies'
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: 'Build'
env:
NODE_ENV: 'production'
run: yarn build
run: pnpm build

- name: 'Update ~/.npmrc'
run: |
Expand All @@ -100,4 +106,4 @@ jobs:
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn publish --access='public' --registry='https://npm.pkg.github.com' --no-git-checks
pnpm publish --access='public' --registry='https://npm.pkg.github.com' --no-git-checks
9 changes: 0 additions & 9 deletions bsc/tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -1602,15 +1602,6 @@
"wallet": true,
"stable": false
},
{
"address": "0x92d7756c60dcfd4c689290e8a9f4d263b3b32241",
"name": "BoringDAO Token",
"symbol": "BOR",
"decimals": 18,
"coingeckoId": "boringdao-[old]",
"wallet": true,
"stable": false
},
{
"address": "0xffeecbf8d7267757c2dc3d13d730e97e15bfdf7f",
"name": "BoringDAO",
Expand Down
9 changes: 0 additions & 9 deletions ethereum/tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -2213,15 +2213,6 @@
"wallet": true,
"stable": false
},
{
"address": "0x3c9d6c1c73b31c837832c72e04d3152f051fc1a9",
"name": "BoringDao",
"symbol": "BOR",
"decimals": 18,
"coingeckoId": "boringdao-[old]",
"wallet": true,
"stable": false
},
{
"address": "0xbc19712feb3a26080ebf6f2f7849b417fdd792ca",
"name": "BoringDAO",
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@
"registry",
"ERC20"
],
"packageManager": ">=pnpm@8.0.0",
"engines": {
"node": ">=18",
"pnpm": ">=8.0.0",
"yarn": "------>PLEASE USE PNPM<------",
"npm": "------>PLEASE USE PNPM<------"
},
"license": "MIT",
"prettier": {
"semi": false,
Expand Down
3 changes: 3 additions & 0 deletions test/app/index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const assert = require('node:assert')
const { describe, it } = require('node:test')

// don't run this test in CI
if (process.env.CI) process.exit(0)

describe('@llamafolio/tokens', async () => {
it('should be an object', async () => {
const tokens = await import('@llamafolio/tokens')
Expand Down
Loading

0 comments on commit d6bc05c

Please sign in to comment.