feat: Use AG-Grid 28. See https://blog.ag-grid.com/whats-new-in-ag-gr… #16
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: Test, Build, and release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Lint and test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ['16.x', '18.x'] | |
os: | |
- ubuntu-latest | |
# - windows-latest | |
# - macOS-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install dependencies 📦 | |
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" >> ~/.npmrc | |
run: npm install | |
# - name: Lint | |
# run: yarn lint | |
# - name: Test | |
# run: yarn test --ci --coverage --maxWorkers=2 | |
- name: Build 🏗 | |
# run: yarn prepare | |
run: npm run build | |
release: | |
name: Release | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
registry-url: https://npm.pkg.github.com | |
always-auth: true | |
scope: '@hudora' | |
- name: Install dependencies 📦 | |
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" >> ~/.npmrc | |
run: npm install | |
- name: Build 🏗 | |
# run: yarn prepare | |
run: npm run build | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release | |
# - name: Deploy storybook to GitHub Pages | |
# run: yarn run storybook-deploy --ci | |
# env: | |
# GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} |