remove access token #12
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: main | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, 20] | |
name: Node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: install | |
run: npm install | |
- name: lint *.js | |
run: npm run eslint | |
- name: format code | |
run: npm run prettier-check | |
- name: build | |
run: npm run build |