Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install deps
run: yarn install
run: npm ci --audit=false --fund=false
- name: Check for regressions
run: yarn lint
run: npm run lint
- name: Check build health
run: yarn build
run: npm run build
- name: Check for SSR compat
run: node dist/index.cjs && node dist/index.js
- name: Check NPM config
Expand All @@ -40,16 +42,18 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14.x'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install deps
# this runs a build script so there is no dedicated build
run: yarn install
# this runs a build script so there is no dedicated build
run: npm ci --audit=false --fund=false
- name: Check build health
run: yarn build
run: npm run build
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ But most importantly, allowing more people that use and rely on these primitives
## How to Contribute

1. Fork and clone the repo
2. Run `yarn install` to install dependencies
2. Run `npm install` to install dependencies
3. Create a branch for your PR with `git checkout -b pr-type/issue-number-your-branch-name beta
4. Let's get cooking! 👨🏻‍🍳🥓

Expand Down
Loading