diff --git a/.gitattributes b/.gitattributes index 68ecb66..dca3e58 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,5 @@ -* text eol=lf +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# JS files should always have LF line endings on checkout. +*.js text eol=lf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..465167d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +name: CI + +on: + push: + branches: + - master + - 'v*' # older version branches + tags: + - '*' + + pull_request: {} + schedule: + - cron: '0 6 * * 0' # weekly, on sundays + +jobs: + test: + name: "Node ${{ matrix.node }} - ${{ matrix.os }}" + runs-on: "${{matrix.os}}-latest" + + strategy: + matrix: + os: ['ubuntu', 'windows', 'macOS'] + node: ['10', '12', '14'] + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: install dependencies + run: yarn install --frozen-lockfile + - name: test + run: yarn test + + floating-test: + name: Floating dependencies + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '14.x' + - name: install dependencies + run: yarn install --no-lockfile + - name: test + run: yarn test + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ec9203a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -language: node_js -node_js: - - "lts/argon" - - "lts/boron" - - "lts/carbon" - - "10" - -sudo: false -dist: trusty - -cache: - yarn: true - -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash - - export PATH=$HOME/.yarn/bin:$PATH - -install: - - yarn install --no-lockfile - -script: - - yarn test:all - -before_deploy: - - yarn global add auto-dist-tag - - auto-dist-tag --write - -deploy: - provider: npm - email: stefan.penner+ember-cli@gmail.com - api_key: - secure: MGME3tiODyEWOdBlWDXJW8pYbN8Ltz8rgnWSqthv5nCY/oN1SVm0mUOvGydCgoHxtszqUpvfExoBmnD/tcaXXVSzajfAWsa+DDx3zKvAcAbsNRsmPgBuWV8/Ptpq6bglx8kwGHeCatqQgghv0Mm7UrpMEZwbq3u7pzAVjNnUeSo= - skip_cleanup: true - on: - tags: true - repo: babel/broccoli-babel-transpiler diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 4c638dd..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,29 +0,0 @@ -# http://www.appveyor.com/docs/appveyor-yml - -# Test against these versions of Node.js. -environment: - matrix: - - nodejs_version: "10" - -# Install scripts. (runs after repo cloning) -install: - - git rev-parse HEAD - # Get the latest stable version of Node 0.STABLE.latest - - ps: Install-Product node $env:nodejs_version - # Typical npm stuff. - - md C:\nc - - npm config set cache C:\nc - - npm version - - npm install --no-optional - -# Post-install test scripts. -test_script: - # Output useful info for debugging. - - npm version - - cmd: npm run test:all - -# Don't actually build. -build: off - -# Set build version format here instead of in the admin panel. -version: "{build}"