New translations (2024-05-21 11:17:13 UTC) #49
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: build | |
on: | |
push: | |
branches: [ main, dev, certification ] | |
pull_request: | |
branches: [ main, dev, certification ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm audit | |
continue-on-error: true | |
- run: npm outdated | |
continue-on-error: true | |
- run: npm ci | |
- run: npm run eslint --if-present | |
- run: npm run lint --if-present | |
- run: npm run package | |
- run: | | |
touch .env | |
echo BING_KEY=${{ secrets.BING_KEY }} >> .env | |
- run: npm run test | |
env: | |
CI: true |