Skip to content

Bump rollup from 2.77.0 to 2.79.2 #90

Bump rollup from 2.77.0 to 2.79.2

Bump rollup from 2.77.0 to 2.79.2 #90

Workflow file for this run

name: Build & Test
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
WPT_MANIFEST: ${{ github.workspace }}/wpt/MANIFEST.json
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/setup-python@v3
with:
python-version: '3.x'
- uses: actions/checkout@v3
with:
repository: devknoll/wpt
path: wpt
ref: x-polyfill-all-tests
- name: Build
run: |
npm install
npm run build:wpt
- name: Setup WPT
run: |
cd wpt
pip install virtualenv
./wpt make-hosts-file | sudo tee -a /etc/hosts
- name: Run Tests
run: |
npm run serve &
./wpt/wpt manifest
./wpt/wpt serve --inject-script=${{ github.workspace }}/dist/container-query-polyfill.modern.js &
npm test
ret=$(node --loader ts-node/esm ./tests/diff.ts)
npm run prettier:fix
cat ./tests/pr.txt >> $GITHUB_STEP_SUMMARY
if [ $ret == "changed" ]; then
exit 1
fi
- uses: actions/upload-artifact@v3
with:
name: baseline.json
path: ./tests/baseline.json
if: failure()
- uses: actions/upload-artifact@v3
with:
name: results.json
path: ./tests/results.json
if: failure()
- uses: actions/upload-artifact@v3
with:
name: raw.json
path: ./tests/*.raw.json
if: failure()