Skip to content

Commit

Permalink
simplify publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Sep 21, 2022
1 parent 0d54c42 commit f4e3eb8
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,7 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 16

- run: npm install -g yarn

- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn
- uses: ./.github/actions/setup
- run: yarn typechain
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- run: yarn publishPackage

0 comments on commit f4e3eb8

Please sign in to comment.