Skip to content

Commit

Permalink
Setup node
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski committed Mar 17, 2022
1 parent d18b048 commit 2b54ed2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- "[0-9]+.[0-9]+.[0-9]+*"

jobs:
build:
runs-on: macos-latest
release:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
Expand All @@ -28,6 +28,10 @@ jobs:
NOTES="${NOTES//$'\n'/'%0A'}"
NOTES="${NOTES//$'\r'/'%0D'}"
echo ::set-output name=NOTES::"$NOTES"
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Build
run: yarn install && yarn build
- name: Release
Expand Down

0 comments on commit 2b54ed2

Please sign in to comment.