Skip to content

Fix incorrect type for project rules #716

Fix incorrect type for project rules

Fix incorrect type for project rules #716

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Cache ~/.elm
uses: actions/cache@v3
with:
path: ~/.elm
key: elm-ubuntu-${{ hashFiles('**/elm.json', 'elm-tooling.json') }}
- name: Cache node_modules
id: cache-node_modules
uses: actions/cache@v3
with:
path: node_modules
key: node_modules-ubuntu-${{ hashFiles('package-lock.json') }}
- name: npm ci
if: steps.cache-node_modules.outputs.cache-hit != 'true'
env:
NO_ELM_TOOLING_INSTALL: 1
run: npm ci
- name: elm-tooling install
run: npx --no-install elm-tooling install
- name: Run tests
run: npm test