Drop support for vue-i18n v8 syntax #2166
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: Test | |
on: | |
push: | |
branches-ignore: | |
- gh-pages | |
pull_request: | |
env: | |
CI: true | |
jobs: | |
lint: | |
name: 'Lint' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- uses: pnpm/action-setup@v2 | |
- name: Install | |
run: pnpm install | |
- name: Lint | |
run: pnpm lint | |
test: | |
name: 'Test for Node.js ${{ matrix.node }} on ${{ matrix.os }}' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [18, 20, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: pnpm/action-setup@v2 | |
- name: Install | |
run: pnpm install | |
- name: Test | |
run: pnpm test | |
- name: Integration Test | |
run: | | |
pnpm build | |
pnpm test:integrations | |
test-for-old-eslint: | |
name: 'Test for ESLint ${{ matrix.eslint }} on ${{ matrix.os }} using Node.js ${{ matrix.node }}' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
eslint: [8] | |
node: [20] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: pnpm/action-setup@v2 | |
- name: Install | |
run: pnpm add eslint@${{ matrix.eslint }} | |
- name: Test | |
run: pnpm test |