Skip to content

Commit

Permalink
fix: Add missing env variables to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Nov 15, 2022
1 parent 5f04050 commit a98a52c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Use Node.js 16
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: '16'
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,20 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
MASTODON_URL: ${{secrets.MASTODON_URL}}
MASTODON_TOKEN: ${{secrets.MASTODON_TOKEN}}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: '16'
cache: yarn

- run: yarn install --frozen-lockfiles
- run: yarn test
- run: yarn build
Expand Down

0 comments on commit a98a52c

Please sign in to comment.