chore(deps): update dependency eslint-config-dev to v3 #902
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: Node CI | |
on: [push] | |
jobs: | |
check-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js latest | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: "*" | |
- name: Install dependencies | |
run: | | |
yarn install | |
yarn check | |
- name: Build artifact | |
run: | | |
yarn build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: bundled | |
path: dist | |
test: | |
needs: check-and-build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [10.x] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Get test dependencies versions | |
id: test-dep-versions | |
run: | | |
echo "::set-output name=postcss-tape::$(node scripts/get-dev-deps postcss-tape)" | |
echo "::set-output name=postcss::$(node scripts/get-dev-deps postcss)" | |
- name: yarn install | |
run: | | |
yarn workspaces focus -A --production | |
yarn add --dev postcss-tape@${{ steps.test-dep-versions.outputs.postcss-tape }} postcss@${{ steps.test-dep-versions.outputs.postcss }} | |
- name: Download artifact | |
uses: actions/download-artifact@v2 | |
with: | |
name: bundled | |
path: dist | |
- name: Test | |
run: | | |
yarn test:tape |