Skip to content

Use sudo for apt-get in get binutils #222

Use sudo for apt-get in get binutils

Use sudo for apt-get in get binutils #222

Workflow file for this run

name: Test, Build and Deploy
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- name: Get binutils
run: |
sudo apt-get update
sudo apt-get install binutils -y
- name: Install and Build
run: |
npm install
npm run build --prefix cli
npm run build --prefix codemirror
- name: Test
run: |
npm test
build-and-deploy:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: gh-pages