Skip to content

3.2.5

3.2.5 #255

Workflow file for this run

name: Tests
on:
pull_request:
branches: ['*']
jobs:
test:
name: Test on node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run linters
run: npm run lint
- name: Build
run: npm run build --if-present
- name: Compile
run: npm run compile:prod
- name: Listing
run: ls -a
- name: Run tests
run: node -e "console.log(require.resolve('biketag'))" && npm run test:ci