[Snyk] Security upgrade serve from 13.0.2 to 14.0.0 #1
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: build-test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build-test: | |
name: 'Build and test' | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.MACHINEUSER_PRIVATE_KEY }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install Rush | |
run: npm install -g @microsoft/rush | |
- name: Install wasm-pack | |
run: | | |
rustup target add wasm32-unknown-unknown | |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Install project dependencies | |
run: rush install | |
- name: Build packages | |
run: rush build:release --only tag:production --only tag:tooling | |
- name: Lint packages | |
run: rush lint | |
- name: Run integration tests | |
env: | |
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }} | |
BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }} | |
run: rush test |