add sieve exercise (#205) #404
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
# This workflow will do a clean install of the dependencies and run tests across different versions | |
# | |
# Replace <track> with the track name | |
# Replace <image-name> with an image to run the jobs on | |
# Replace <action to setup tooling> with a github action to setup tooling on the image | |
# Replace <install dependencies> with a cli command to install the dependencies | |
# | |
# Find Github Actions to setup tooling here: | |
# - https://github.com/actions/?q=setup&type=&language= | |
# - https://github.com/actions/starter-workflows/tree/main/ci | |
# - https://github.com/marketplace?type=actions&query=setup | |
# | |
# Requires scripts: | |
# - bin/test | |
name: Test Exercises | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Setup Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: 'node' | |
- name: Install project dependencies | |
run: npm ci | |
- name: Verify all exercises | |
run: bin/verify-exercises |