Skip to content

Commit

Permalink
💚 Fix CI for publishing
Browse files Browse the repository at this point in the history
Missing yarn install
  • Loading branch information
michaljanocko committed Nov 22, 2021
1 parent 5301cc4 commit 2e3c6be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn install
- run: yarn test
Expand All @@ -35,6 +35,7 @@ jobs:
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2e3c6be

Please sign in to comment.