Prepare to release v0.11.1 #118
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
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
name: Continuous Integration | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [12, 14, 16, 18] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: 'npm' | |
cache-dependency-path: '**/package.json' | |
- name: Install dependencies | |
run: npm install | |
- name: Run loader tests | |
run: | | |
npm test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: '**/package.json' | |
- name: Install dependencies | |
run: npm install | |
- name: Lint Code | |
run: | | |
npm run check-codestyle | |
- name: Lint Text | |
run: npm run check-text | |
types: | |
name: Build/Check Types | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: '**/package.json' | |
- name: Install dependencies | |
run: npm install | |
- name: Build Types | |
run: | | |
npm run build-types |