Skip to content

ignore lock file

ignore lock file #137

Workflow file for this run

name: buildtarget
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
container:
image: letssteam/makecode-toolchain:latest
options: --user 1001 --security-opt no-new-privileges
steps:
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pxt
- uses: actions/checkout@v3
with:
token: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
submodules: "recursive"
- run: scripts/setup.sh
- run: cd pxt-lets-steam;pxt ci
env:
PXT_NODOCKER: 1
CROWDIN_KEY: ${{ secrets.CROWDIN_KEY }}
PXT_ACCESS_TOKEN: ${{ secrets.PXT_ACCESS_TOKEN }}
PXT_RELEASE_REPO: ${{ secrets.PXT_RELEASE_REPO }}
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
CHROME_BIN: chromium-browser
DISPLAY: :99.0
CI: true