Skip to content

fix linux/ci build: use @ as a root alias #1950

fix linux/ci build: use @ as a root alias

fix linux/ci build: use @ as a root alias #1950

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '>=20.6.0'
- run: npm install
- run: npm test
- run: echo "_REV=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
# MV2
- run: rm -rf dist && npm run build-chrome-mv2
- uses: actions/upload-artifact@v4
with:
name: 'stylus-chrome-mv2-${{ env._VER }}-${{ env._REV }}'
path: 'dist/*'
if-no-files-found: error
# MV3
- run: rm -rf dist && npm run build-chrome-mv3
- uses: actions/upload-artifact@v4
with:
name: 'stylus-chrome-mv3-${{ env._VER }}-${{ env._REV }}'
path: 'dist/*'
if-no-files-found: error