chore(deps): update dependencies (non-major) #1000
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Emit .d.ts files | |
run: nr --filter prosemirror-flat-list build | |
- name: Lint | |
run: nr lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Build | |
run: nr build | |
- name: Typecheck | |
run: nr typecheck | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [18.x, 20.x] | |
os: [ubuntu-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Build | |
run: nr build | |
- name: Test | |
run: nr test | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Build | |
run: nr build | |
- name: Deploy to Netlify (https://remirror-extension-flat-list.netlify.app/) | |
uses: nwtgck/[email protected] | |
with: | |
publish-dir: './examples/with-remirror/dist' | |
production-branch: master | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
deploy-message: 'Deploy from GitHub Actions' | |
enable-pull-request-comment: true | |
enable-commit-comment: false | |
overwrites-pull-request-comment: true | |
alias: ${{ github.head_ref }} | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
timeout-minutes: 5 | |
- name: Deploy to Netlify (https://prosemirror-flat-list.netlify.app/) | |
uses: nwtgck/[email protected] | |
with: | |
publish-dir: './website/dist' | |
production-branch: master | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
deploy-message: 'Deploy from GitHub Actions' | |
enable-pull-request-comment: true | |
enable-commit-comment: false | |
overwrites-pull-request-comment: true | |
alias: ${{ github.head_ref }} | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_WEBSITE_SITE_ID }} | |
timeout-minutes: 5 |