Add Open.js Code Of Conduct File (#2395) #914
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 every pull request, but only on push to master | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test-node: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Use Node.js | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: | | |
yarn bootstrap | |
- name: Run tests | |
env: | |
VITE_MAPBOX_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN_CI }} | |
run: | | |
yarn test ci | |
- name: Coveralls | |
uses: coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # v1.2.5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |