feat: improve toIncludeSameMembers
performance for primitive arrays
#10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: [ push, pull_request ] | |
# TODO - Test on all currently supported node versions | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org | |
- name: Log Environment | |
run: | | |
echo "Node version $(node --version)" | |
echo "NPM version $(npm --version)" | |
echo "System Info $(uname -a)" | |
- name: Install Dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
deploy: | |
runs-on: ubuntu-22.04 | |
needs: test | |
# Run only on pushing to main | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org | |
- name: Log Environment | |
run: | | |
echo "Node version $(node --version)" | |
echo "NPM version $(npm --version)" | |
echo "System Info $(uname -a)" | |
- name: Install Dependencies | |
run: npm i | |
- name: Build | |
run: npm run build | |
- name: Release to NPM | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
# Enable npm provenance - (doing here so when we have tests that actually publish to local npm registry they won't fail) | |
npm_config_provenance: true | |
run: npx semantic-release |